31 references to LPTR
System.Security (31)
system\security\cryptography\pkcs\envelopedpkcs7.cs (14)
411
SafeLocalAllocHandle ceei = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CMSG_ENVELOPED_ENCODE_INFO))));
610
SafeLocalAllocHandle pvAuxInfo = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CMSG_RC2_AUX_INFO))));
649
encryptParam.rgpRecipients = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(totalSize));
667
encryptParam.rgCertEncoded = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(certificates.Count * Marshal.SizeOf(typeof(CAPI.CRYPTOAPI_BLOB))));
710
encryptParam.rgszObjId[index] = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(objId.Length + 1));
757
pbData = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(cbData));
825
encryptParam.rgszObjId[index] = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(objId.Length + 1));
845
encryptParam.rgszKeyWrapObjId[cKeyAgree] = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(objId.Length + 1));
869
encryptParam.rgEphemeralIdentifier[cKeyAgree] = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CRYPT_ALGORITHM_IDENTIFIER))));
874
encryptParam.rgszEphemeralObjId[cKeyAgree] = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(objId.Length + 1));
898
encryptParam.prgpEncryptedKey[cKeyAgree] = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(IntPtr))));
901
encryptParam.rgpEncryptedKey[cKeyAgree] = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO))));
943
pbKeyId = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(cbKeyId));
1023
encryptParam.rgpRecipients = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(totalSize));
system\security\cryptography\pkcs\pkcs9attribute.cs (1)
127
SafeLocalAllocHandle pbSigningTime = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(Int64))));
system\security\cryptography\pkcs\pkcsmisc.cs (1)
321
SafeLocalAllocHandle pKeyInfo = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CERT_PUBLIC_KEY_INFO))));
system\security\cryptography\pkcs\pkcsutils.cs (9)
77
SafeLocalAllocHandle pPeex = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.PROV_ENUMALGS_EX))));
168
pvData = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(cbData));
348
using (pbUnprotectedAttr = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(cbUnprotectedAttr))) {
646
SafeLocalAllocHandle pCryptAttributes = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(totalLength));
764
CAPI.LocalAlloc(CAPI.
LPTR
,
773
CAPI.LocalAlloc(CAPI.
LPTR
,
808
pbData = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(cbData));
1072
SafeLocalAllocHandle pKeyProvInfo = CAPI.LocalAlloc(CAPI.
LPTR
,
1080
SafeLocalAllocHandle pSignatureAlgorithm = CAPI.LocalAlloc(CAPI.
LPTR
,
system\security\cryptography\pkcs\signedpkcs7.cs (1)
376
SafeLocalAllocHandle pSignerEncodeInfo = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CMSG_SIGNER_ENCODE_INFO))));
system\security\cryptography\pkcs\signerinfo.cs (4)
303
SafeLocalAllocHandle pSignerEncodeInfo = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CMSG_SIGNER_ENCODE_INFO))));
417
pbParameters = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(cbParameters));
589
SafeLocalAllocHandle pbCounterSignatureValue = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(cbCounterSignatureValue));
608
SafeLocalAllocHandle pNewAttr = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CRYPT_ATTRIBUTE))));
system\security\cryptography\x509\x509utils.cs (1)
264
safeLocalAllocHandle = CAPI.LocalAlloc(CAPI.
LPTR
, new IntPtr((uint) ptrSize + (uint) oidSize));