6 references to AlignedLength
System.Security (6)
system\security\cryptography\pkcs\pkcsutils.cs (6)
626
uint cryptAttrSize =
AlignedLength
((uint) Marshal.SizeOf(typeof(I_CRYPT_ATTRIBUTE)));
627
uint cryptBlobSize =
AlignedLength
((uint) Marshal.SizeOf(typeof(CAPI.CRYPTOAPI_BLOB)));
635
totalLength +=
AlignedLength
((uint) (attribute.Oid.Value.Length + 1)); // strlen(pszObjId) + 1
641
totalLength +=
AlignedLength
((uint) attributeValue.RawData.Length); // Data size
655
CAPI.CRYPTOAPI_BLOB * pDataBlob = (CAPI.CRYPTOAPI_BLOB *) (pszObjId +
AlignedLength
((uint) objId.Length));
685
pbEncodedData = new IntPtr((long) pbEncodedData +
AlignedLength
((uint) encodedData.Length));