8 references to AllocBytes
System.Security.Cryptography.Pkcs (8)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (8)
173pCertEncoded[i].pbData = hb.AllocBytes(certEncoded); 202pValues[j].pbData = hb.AllocBytes(rawData); 289pEncodeInfo->KeyEncryptionAlgorithm.Parameters.pbData = hb.AllocBytes(s_rsaPkcsParameters); 295pEncodeInfo->KeyEncryptionAlgorithm.Parameters.pbData = hb.AllocBytes(s_rsaOaepSha1Parameters); 301pEncodeInfo->KeyEncryptionAlgorithm.Parameters.pbData = hb.AllocBytes(s_rsaOaepSha256Parameters); 307pEncodeInfo->KeyEncryptionAlgorithm.Parameters.pbData = hb.AllocBytes(s_rsaOaepSha384Parameters); 313pEncodeInfo->KeyEncryptionAlgorithm.Parameters.pbData = hb.AllocBytes(s_rsaOaepSha512Parameters); 413IntPtr pSki = hb.AllocBytes(ski);