9 writes to cbData
System (9)
security\system\security\cryptography\cryptoapi.cs (3)
3506
certBlob.
cbData
= (uint) ((byte[]) pvObject).Length;
3571
certBlob.
cbData
= (uint) ((byte[]) pvObject).Length;
3644
certBlob.
cbData
= (uint) pbData.Length;
security\system\security\cryptography\x509\x500Name.cs (1)
83
nameBlob.
cbData
= (uint) encodedDistinguishedName.Length;
security\system\security\cryptography\x509\x509certificate2.cs (1)
1375
DataBlob.
cbData
= 2 * ((uint) name.Length + 1);
security\system\security\cryptography\x509\x509certificate2collection.cs (1)
425
HashBlob.
cbData
= (uint) hex.Length;
security\system\security\cryptography\x509\x509extension.cs (3)
137
pKeyUsage.
cbData
= 4;
464
pSubjectKeyIdentifier.
cbData
= (uint) subjectKeyIdentifier.Length;
500
pPublicKeyInfo->Algorithm.Parameters.
cbData
= (uint) encodedParameters.Length;
24 references to cbData
System (24)
security\system\security\cryptography\cryptoapi.cs (3)
2767
if (blob.
cbData
== 0)
2777
if (blob.
cbData
== 0)
2779
byte[] data = new byte[blob.
cbData
];
security\system\security\cryptography\x509\x509certificate2.cs (10)
209
uint cbKey = pDssParameters.p.
cbData
;
231
byte[] p = new byte[pDssParameters.p.
cbData
];
236
uint cb = pDssParameters.q.
cbData
;
240
byte[] q = new byte[pDssParameters.q.
cbData
];
247
cb = pDssParameters.g.
cbData
;
251
byte[] g = new byte[pDssParameters.g.
cbData
];
258
cb = pDssPubKey.
cbData
;
262
byte[] y = new byte[pDssPubKey.
cbData
];
979
byte[] rawData = new byte[extension.Value.
cbData
];
1006
X509Utils.PtrToByte(otherName.Value.pbData, otherName.Value.
cbData
),
security\system\security\cryptography\x509\x509certificate2collection.cs (8)
342
pbEncoded = CAPI.LocalAlloc(CAPI.LMEM_FIXED, new IntPtr(DataBlob.
cbData
));
350
pbBlob = new byte[DataBlob.
cbData
];
369
pbEncoded = CAPI.LocalAlloc(CAPI.LMEM_FIXED, new IntPtr(DataBlob.
cbData
));
380
pbBlob = new byte[DataBlob.
cbData
];
744
byte[] hex = new byte[pCertInfo.SerialNumber.
cbData
];
840
byte[] rawData = new byte[extension.Value.
cbData
];
860
byte[] rawData = new byte[extension.Value.
cbData
];
943
byte[] rawData = new byte[extension.Value.
cbData
];
security\system\security\cryptography\x509\x509extension.cs (3)
31
byte[] rawData = new byte[extension.Value.
cbData
];
136
if (pKeyUsage.
cbData
> 4)
140
Marshal.Copy(pKeyUsage.pbData, keyUsage, 0, (int) pKeyUsage.
cbData
);