16 writes to pbData
System.Security (16)
system\security\cryptography\dataprotection.cs (4)
55
dataIn.
pbData
= pbDataIn.AddrOfPinnedObject();
60
entropy.
pbData
= pOptionalEntropy.AddrOfPinnedObject();
130
dataIn.
pbData
= pbDataIn.AddrOfPinnedObject();
135
entropy.
pbData
= pOptionalEntropy.AddrOfPinnedObject();
system\security\cryptography\pkcs\envelopedpkcs7.cs (2)
469
dataBlob.
pbData
= new IntPtr(pbContent);
673
pBlob->
pbData
= pCertContext.pbCertEncoded;
system\security\cryptography\pkcs\pkcsutils.cs (8)
446
octetsBlob.
pbData
= new IntPtr(pbOctets);
682
pDataBlob->
pbData
= pbEncodedData;
767
cmsSignerEncodeInfo.SignerId.Value.IssuerSerialNumber.Issuer.
pbData
= pbDataIssuer.DangerousGetHandle();
777
cmsSignerEncodeInfo.SignerId.Value.IssuerSerialNumber.SerialNumber.
pbData
=
818
cmsSignerEncodeInfo.SignerId.Value.KeyId.
pbData
= pbData.DangerousGetHandle();
967
pCertBlob->
pbData
= pCertContext.pbCertEncoded;
989
certBlob.
pbData
= pCertContext.pbCertEncoded;
1089
SubjectIssuerBlob.
pbData
= new IntPtr(pbOctets);
system\security\cryptography\pkcs\signerinfo.cs (2)
627
addPara.blob.
pbData
= new IntPtr(pbData);
649
addPara.blob.
pbData
= new IntPtr(pbData);
40 references to pbData
System.Security (40)
system\security\cryptography\cryptoapi.cs (3)
1586
if (SignerId.Value.KeyId.
pbData
!= IntPtr.Zero) {
1587
LocalFree(SignerId.Value.KeyId.
pbData
);
2309
Marshal.Copy(blob.
pbData
, data, 0, data.Length);
system\security\cryptography\dataprotection.cs (10)
89
if (blob.
pbData
== IntPtr.Zero)
93
Marshal.Copy(blob.
pbData
, encryptedData, 0, encryptedData.Length);
105
if (blob.
pbData
!= IntPtr.Zero) {
106
CAPI.CAPISafe.ZeroMemory(blob.
pbData
, blob.cbData);
107
CAPI.CAPISafe.LocalFree(blob.
pbData
);
152
if (userData.
pbData
== IntPtr.Zero)
156
Marshal.Copy(userData.
pbData
, data, 0, data.Length);
168
if (userData.
pbData
!= IntPtr.Zero) {
169
CAPI.CAPISafe.ZeroMemory(userData.
pbData
, userData.cbData);
170
CAPI.CAPISafe.LocalFree(userData.
pbData
);
system\security\cryptography\pkcs\envelopedpkcs7.cs (6)
726
Marshal.WriteIntPtr(ppbData, certInfo.SubjectPublicKeyInfo.Algorithm.Parameters.
pbData
);
799
Marshal.WriteIntPtr(ppbData, certInfo.Issuer.
pbData
);
810
Marshal.WriteIntPtr(ppbData, certInfo.SerialNumber.
pbData
);
889
Marshal.WriteIntPtr(ppbData, certInfo.SubjectPublicKeyInfo.Algorithm.Parameters.
pbData
);
975
Marshal.WriteIntPtr(ppbData, certInfo.Issuer.
pbData
);
986
Marshal.WriteIntPtr(ppbData, certInfo.SerialNumber.
pbData
);
system\security\cryptography\pkcs\pkcsmisc.cs (11)
53
byte * pb = (byte *) serialNumber.
pbData
;
63
Marshal.Copy(issuer.
pbData
, issuerBytes, 0, issuerBytes.Length);
83
issuer.
pbData
,
102
Marshal.Copy(certRdnAttr.Value.
pbData
, ski, 0, ski.Length);
130
Marshal.Copy(certId.Value.KeyId.
pbData
, ski, 0, ski.Length);
237
Marshal.Copy(certId.Value.KeyId.
pbData
, ski, 0, ski.Length);
326
Marshal.Copy(keyInfo.Algorithm.Parameters.
pbData
, parameters, 0, parameters.Length);
345
algorithmIdentifier.Parameters.
pbData
,
375
algorithmIdentifier.Parameters.
pbData
,
387
Marshal.Copy(blob.
pbData
, parameters, 0, parameters.Length);
424
Marshal.Copy(algorithmIdentifier.Parameters.
pbData
, parameters, 0, parameters.Length);
system\security\cryptography\pkcs\pkcsutils.cs (6)
313
if (X509Utils.MemEqual((byte *) cmsgSignerInfo1.Issuer.
pbData
,
315
(byte *) cmsgSignerInfo2.Issuer.
pbData
,
317
X509Utils.MemEqual((byte *) cmsgSignerInfo1.SerialNumber.
pbData
,
319
(byte *) cmsgSignerInfo2.SerialNumber.
pbData
,
385
Marshal.Copy(pIssuerAndSerial.SerialNumber.
pbData
, serial, 0, serial.Length);
409
string octetString = Marshal.PtrToStringUni(decodedBlob.
pbData
);
system\security\cryptography\pkcs\recipientinfo.cs (3)
115
byte * pb = (byte *) certInfo.SerialNumber.
pbData
;
182
Marshal.Copy(keyTrans.EncryptedKey.
pbData
, m_encryptedKey, 0, m_encryptedKey.Length);
326
Marshal.Copy(m_encryptedKeyInfo.EncryptedKey.
pbData
, m_encryptedKey, 0, m_encryptedKey.Length);
system\security\cryptography\pkcs\signerinfo.cs (1)
260
Marshal.Copy(m_cmsgSignerInfo.EncryptedHash.
pbData
, ret, 0, ret.Length);