1 instantiation of CRYPT_ATTRIBUTE
System.Security (1)
system\security\cryptography\pkcs\signerinfo.cs (1)
603
CAPI.CRYPT_ATTRIBUTE newAttr = new CAPI.
CRYPT_ATTRIBUTE
();
12 references to CRYPT_ATTRIBUTE
System.Security (12)
system\security\cryptography\cryptographicattribute.cs (4)
33
internal CryptographicAttributeObject (IntPtr pAttribute) : this((CAPI.
CRYPT_ATTRIBUTE
) Marshal.PtrToStructure(pAttribute, typeof(CAPI.
CRYPT_ATTRIBUTE
))) {}
36
internal CryptographicAttributeObject(CAPI.
CRYPT_ATTRIBUTE
cryptAttribute) :
97
IntPtr pCryptAttribute = new IntPtr((long)cryptAttributes.rgAttr + (index * Marshal.SizeOf(typeof(CAPI.
CRYPT_ATTRIBUTE
))));
system\security\cryptography\pkcs\pkcsutils.cs (1)
566
internal static AsnEncodedDataCollection GetAsnEncodedDataCollection (CAPI.
CRYPT_ATTRIBUTE
cryptAttribute) {
system\security\cryptography\pkcs\signerinfo.cs (7)
563
CAPI.
CRYPT_ATTRIBUTE
attr = (CAPI.
CRYPT_ATTRIBUTE
) Marshal.PtrToStructure(pAttr, typeof(CAPI.
CRYPT_ATTRIBUTE
));
603
CAPI.
CRYPT_ATTRIBUTE
newAttr = new CAPI.CRYPT_ATTRIBUTE();
608
SafeLocalAllocHandle pNewAttr = CAPI.LocalAlloc(CAPI.LPTR, new IntPtr(Marshal.SizeOf(typeof(CAPI.
CRYPT_ATTRIBUTE
))));
618
Marshal.DestroyStructure(pNewAttr.DangerousGetHandle(), typeof(CAPI.
CRYPT_ATTRIBUTE
));
664
pAttr = new IntPtr((long) pAttr + (long) Marshal.SizeOf(typeof(CAPI.
CRYPT_ATTRIBUTE
)));