1 write to rgpEncryptedKey
System.Security (1)
system\security\cryptography\pkcs\envelopedpkcs7.cs (1)
662
encryptParam.
rgpEncryptedKey
= new SafeLocalAllocHandle[cKeyAgree];
5 references to rgpEncryptedKey
System.Security (5)
system\security\cryptography\pkcs\envelopedpkcs7.cs (5)
901
encryptParam.
rgpEncryptedKey
[cKeyAgree] = CAPI.LocalAlloc(CAPI.LPTR, new IntPtr(Marshal.SizeOf(typeof(CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO))));
902
Marshal.WriteIntPtr(encryptParam.prgpEncryptedKey[cKeyAgree].DangerousGetHandle(), encryptParam.
rgpEncryptedKey
[cKeyAgree].DangerousGetHandle());
905
pcbSize = new IntPtr((long) encryptParam.
rgpEncryptedKey
[cKeyAgree].DangerousGetHandle() + (long) Marshal.OffsetOf(typeof(CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO), "cbSize"));
909
IntPtr pRecipientPublicKey = new IntPtr((long) encryptParam.
rgpEncryptedKey
[cKeyAgree].DangerousGetHandle() + (long) Marshal.OffsetOf(typeof(CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO), "RecipientPublicKey"));
924
IntPtr pRecipientId = new IntPtr((long) encryptParam.
rgpEncryptedKey
[cKeyAgree].DangerousGetHandle() + (long) Marshal.OffsetOf(typeof(CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO), "RecipientId"));