12 instantiations of CRYPTOAPI_BLOB
System.Security (12)
system\security\cryptography\cryptoapi.cs (2)
1287
blob = new
CRYPTOAPI_BLOB
();
1699
ExtraInfo = new
CRYPTOAPI_BLOB
();
system\security\cryptography\dataprotection.cs (6)
48
CAPI.CRYPTOAPI_BLOB blob = new CAPI.
CRYPTOAPI_BLOB
();
53
CAPI.CRYPTOAPI_BLOB dataIn = new CAPI.
CRYPTOAPI_BLOB
();
56
CAPI.CRYPTOAPI_BLOB entropy = new CAPI.
CRYPTOAPI_BLOB
();
123
CAPI.CRYPTOAPI_BLOB userData = new CAPI.
CRYPTOAPI_BLOB
();
128
CAPI.CRYPTOAPI_BLOB dataIn = new CAPI.
CRYPTOAPI_BLOB
();
131
CAPI.CRYPTOAPI_BLOB entropy = new CAPI.
CRYPTOAPI_BLOB
();
system\security\cryptography\pkcs\envelopedpkcs7.cs (1)
467
CAPI.CRYPTOAPI_BLOB dataBlob = new CAPI.
CRYPTOAPI_BLOB
();
system\security\cryptography\pkcs\pkcsutils.cs (3)
444
CAPI.CRYPTOAPI_BLOB octetsBlob = new CAPI.
CRYPTOAPI_BLOB
();
987
CAPI.CRYPTOAPI_BLOB certBlob = new CAPI.
CRYPTOAPI_BLOB
();
1087
CAPI.CRYPTOAPI_BLOB SubjectIssuerBlob = new CAPI.
CRYPTOAPI_BLOB
();
86 references to CRYPTOAPI_BLOB
System.Security (86)
system\security\cryptography\cryptoapi.cs (33)
1102
internal
CRYPTOAPI_BLOB
p;
1103
internal
CRYPTOAPI_BLOB
q;
1104
internal
CRYPTOAPI_BLOB
g;
1118
internal
CRYPTOAPI_BLOB
Value;
1132
internal
CRYPTOAPI_BLOB
KeyId; // CERT_ID_KEY_IDENTIFIER
1134
internal
CRYPTOAPI_BLOB
HashId; // CERT_ID_SHA1_HASH
1139
internal
CRYPTOAPI_BLOB
Issuer;
1140
internal
CRYPTOAPI_BLOB
SerialNumber;
1146
internal
CRYPTOAPI_BLOB
SerialNumber;
1148
internal
CRYPTOAPI_BLOB
Issuer;
1151
internal
CRYPTOAPI_BLOB
Subject;
1175
internal
CRYPTOAPI_BLOB
Value;
1182
internal
CRYPTOAPI_BLOB
Value;
1209
CRYPTOAPI_BLOB
Qualifier;
1235
internal
CRYPTOAPI_BLOB
Value;
1277
internal
CRYPTOAPI_BLOB
EncryptedHash;
1292
internal
CRYPTOAPI_BLOB
blob;
1354
internal
CRYPTOAPI_BLOB
UserKeyingMaterial; // OPTIONAL
1475
internal
CRYPTOAPI_BLOB
UserKeyingMaterial;
1486
internal
CRYPTOAPI_BLOB
UserKeyingMaterial;
1496
internal
CRYPTOAPI_BLOB
EncryptedKey;
1524
internal
CRYPTOAPI_BLOB
EncryptedKey;
1616
internal
CRYPTOAPI_BLOB
Issuer;
1617
internal
CRYPTOAPI_BLOB
SerialNumber;
1620
internal
CRYPTOAPI_BLOB
EncryptedHash;
1643
internal
CRYPTOAPI_BLOB
Parameters;
1649
internal
CRYPTOAPI_BLOB
Parameters;
1670
internal
CRYPTOAPI_BLOB
Value;
1707
internal
CRYPTOAPI_BLOB
ExtraInfo;
2298
CAPI.
CRYPTOAPI_BLOB
blob = (CAPI.
CRYPTOAPI_BLOB
) Marshal.PtrToStructure(pBlob, typeof(CAPI.
CRYPTOAPI_BLOB
));
2305
internal static byte[] BlobToByteArray(CAPI.
CRYPTOAPI_BLOB
blob) {
system\security\cryptography\dataprotection.cs (6)
48
CAPI.
CRYPTOAPI_BLOB
blob = new CAPI.CRYPTOAPI_BLOB();
53
CAPI.
CRYPTOAPI_BLOB
dataIn = new CAPI.CRYPTOAPI_BLOB();
56
CAPI.
CRYPTOAPI_BLOB
entropy = new CAPI.CRYPTOAPI_BLOB();
123
CAPI.
CRYPTOAPI_BLOB
userData = new CAPI.CRYPTOAPI_BLOB();
128
CAPI.
CRYPTOAPI_BLOB
dataIn = new CAPI.CRYPTOAPI_BLOB();
131
CAPI.
CRYPTOAPI_BLOB
entropy = new CAPI.CRYPTOAPI_BLOB();
system\security\cryptography\pkcs\envelopedpkcs7.cs (21)
467
CAPI.
CRYPTOAPI_BLOB
dataBlob = new CAPI.CRYPTOAPI_BLOB();
667
encryptParam.rgCertEncoded = CAPI.LocalAlloc(CAPI.LPTR, new IntPtr(certificates.Count * Marshal.SizeOf(typeof(CAPI.
CRYPTOAPI_BLOB
))));
670
CAPI.
CRYPTOAPI_BLOB
* pBlob = (CAPI.
CRYPTOAPI_BLOB
*) new IntPtr((long) encryptParam.rgCertEncoded.DangerousGetHandle() +
671
(index * Marshal.SizeOf(typeof(CAPI.
CRYPTOAPI_BLOB
))));
721
IntPtr pcbData = new IntPtr((long) pParameters + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
725
IntPtr ppbData = new IntPtr((long) pParameters + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
775
pcbData = new IntPtr((long) pKeyId + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
779
ppbData = new IntPtr((long) pKeyId + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
794
pcbData = new IntPtr((long) pIssuer + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
798
ppbData = new IntPtr((long) pIssuer + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
805
pcbData = new IntPtr((long) pSerialNumber + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
809
ppbData = new IntPtr((long) pSerialNumber + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
884
IntPtr pcbData = new IntPtr((long) pParameters + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
888
IntPtr ppbData = new IntPtr((long) pParameters + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
953
pcbData = new IntPtr((long) pKeyId + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
957
ppbData = new IntPtr((long) pKeyId + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
970
pcbData = new IntPtr((long) pIssuer + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
974
ppbData = new IntPtr((long) pIssuer + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
981
pcbData = new IntPtr((long) pSerialNumber + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
985
ppbData = new IntPtr((long) pSerialNumber + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
system\security\cryptography\pkcs\pkcsmisc.cs (6)
50
internal unsafe SubjectIdentifier (CAPI.
CRYPTOAPI_BLOB
issuer, CAPI.
CRYPTOAPI_BLOB
serialNumber) {
381
if (cbParameters > Marshal.SizeOf(typeof(CAPI.
CRYPTOAPI_BLOB
))) {
382
CAPI.
CRYPTOAPI_BLOB
blob = (CAPI.
CRYPTOAPI_BLOB
)Marshal.PtrToStructure(pbParameters.DangerousGetHandle(), typeof(CAPI.
CRYPTOAPI_BLOB
));
system\security\cryptography\pkcs\pkcsutils.cs (13)
406
CAPI.
CRYPTOAPI_BLOB
decodedBlob = (CAPI.
CRYPTOAPI_BLOB
) Marshal.PtrToStructure(pbDecoded.DangerousGetHandle(), typeof(CAPI.
CRYPTOAPI_BLOB
));
444
CAPI.
CRYPTOAPI_BLOB
octetsBlob = new CAPI.CRYPTOAPI_BLOB();
573
IntPtr pAttributeBlob = new IntPtr((long)cryptAttribute.rgValue + (index * Marshal.SizeOf(typeof(CAPI.
CRYPTOAPI_BLOB
))));
627
uint cryptBlobSize = AlignedLength((uint) Marshal.SizeOf(typeof(CAPI.
CRYPTOAPI_BLOB
)));
655
CAPI.
CRYPTOAPI_BLOB
* pDataBlob = (CAPI.
CRYPTOAPI_BLOB
*) (pszObjId + AlignedLength((uint) objId.Length));
959
certBlob = CAPI.LocalAlloc(CAPI.LMEM_FIXED, new IntPtr(certificates.Count * Marshal.SizeOf(typeof(CAPI.
CRYPTOAPI_BLOB
))));
960
CAPI.
CRYPTOAPI_BLOB
* pCertBlob = (CAPI.
CRYPTOAPI_BLOB
* ) certBlob.DangerousGetHandle();
987
CAPI.
CRYPTOAPI_BLOB
certBlob = new CAPI.CRYPTOAPI_BLOB();
1087
CAPI.
CRYPTOAPI_BLOB
SubjectIssuerBlob = new CAPI.CRYPTOAPI_BLOB();
system\security\cryptography\pkcs\signerinfo.cs (7)
371
IntPtr pcbData = new IntPtr((long) pParameters + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "cbData"));
372
IntPtr ppbData = new IntPtr((long) pParameters + (long) Marshal.OffsetOf(typeof(CAPI.
CRYPTOAPI_BLOB
), "pbData"));
588
uint cbCounterSignatureValue = (uint) ((attr.cValue - 1) * Marshal.SizeOf(typeof(CAPI.
CRYPTOAPI_BLOB
)));
592
CAPI.
CRYPTOAPI_BLOB
* pOldValue = (CAPI.
CRYPTOAPI_BLOB
*) attr.rgValue;
593
CAPI.
CRYPTOAPI_BLOB
* pNewValue = (CAPI.
CRYPTOAPI_BLOB
*) pbCounterSignatureValue.DangerousGetHandle();