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