1 write to rgEphemeralIdentifier
System.Security (1)
system\security\cryptography\pkcs\envelopedpkcs7.cs (1)
658
encryptParam.
rgEphemeralIdentifier
= new SafeLocalAllocHandle[cKeyAgree];
4 references to rgEphemeralIdentifier
System.Security (4)
system\security\cryptography\pkcs\envelopedpkcs7.cs (4)
869
encryptParam.
rgEphemeralIdentifier
[cKeyAgree] = CAPI.LocalAlloc(CAPI.LPTR, new IntPtr(Marshal.SizeOf(typeof(CAPI.CRYPT_ALGORITHM_IDENTIFIER))));
870
Marshal.WriteIntPtr(pEphemeralAlgorithm, encryptParam.
rgEphemeralIdentifier
[cKeyAgree].DangerousGetHandle());
877
pszObjId = new IntPtr((long) encryptParam.
rgEphemeralIdentifier
[cKeyAgree].DangerousGetHandle() + (long) Marshal.OffsetOf(typeof(CAPI.CRYPT_ALGORITHM_IDENTIFIER), "pszObjId"));
881
IntPtr pParameters = new IntPtr((long) encryptParam.
rgEphemeralIdentifier
[cKeyAgree].DangerousGetHandle() + (long) Marshal.OffsetOf(typeof(CAPI.CRYPT_ALGORITHM_IDENTIFIER), "Parameters"));