31 references to KeyBlobType
System.Security.Cryptography (31)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaImplementation.CreateCng.cs (3)
16_hasSeed ? Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_SEED_BLOB : 17_hasPrivateKey ? Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_BLOB : 18Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PUBLIC_BLOB;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaImplementation.Windows.cs (6)
125const string PublicBlobType = Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PUBLIC_BLOB; 141const string PrivateBlobType = Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_BLOB; 157const string PrivateSeedBlobType = Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_SEED_BLOB; 171Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PUBLIC_BLOB, 183Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_BLOB, 196Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_SEED_BLOB,
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemImplementation.Windows.cs (1)
11using KeyBlobType = Interop.BCrypt.KeyBlobType;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PqcBlobHelpers.cs (10)
9using KeyBlobType = Interop.BCrypt.KeyBlobType; 56case Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PUBLIC_BLOB: 59case Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_BLOB: 62case Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_SEED_BLOB: 83blobType = Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PUBLIC_BLOB; 86blobType = Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_BLOB; 89blobType = Interop.BCrypt.KeyBlobType.BCRYPT_PQDSA_PRIVATE_SEED_BLOB; 201KeyBlobMagicNumber.BCRYPT_MLKEM_PRIVATE_SEED_MAGIC => KeyBlobType.BCRYPT_MLKEM_PRIVATE_SEED_BLOB, 202KeyBlobMagicNumber.BCRYPT_MLKEM_PRIVATE_MAGIC => KeyBlobType.BCRYPT_MLKEM_PRIVATE_BLOB, 203KeyBlobMagicNumber.BCRYPT_MLKEM_PUBLIC_MAGIC => KeyBlobType.BCRYPT_MLKEM_PUBLIC_BLOB,
System\Security\Cryptography\RSABCrypt.cs (4)
80Interop.BCrypt.KeyBlobType.BCRYPT_RSAFULLPRIVATE_BLOB : 81Interop.BCrypt.KeyBlobType.BCRYPT_RSAPUBLIC_KEY_BLOB); 106Interop.BCrypt.KeyBlobType.BCRYPT_RSAPRIVATE_BLOB : 107Interop.BCrypt.KeyBlobType.BCRYPT_RSAPUBLIC_KEY_BLOB,
System\Security\Cryptography\RSACng.ImportExport.cs (3)
10new CngKeyBlobFormat(Interop.BCrypt.KeyBlobType.BCRYPT_RSAFULLPRIVATE_BLOB); 13new CngKeyBlobFormat(Interop.BCrypt.KeyBlobType.BCRYPT_RSAPRIVATE_BLOB); 16new CngKeyBlobFormat(Interop.BCrypt.KeyBlobType.BCRYPT_RSAPUBLIC_KEY_BLOB);
System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (4)
195Interop.BCrypt.KeyBlobType.BCRYPT_ECCPRIVATE_BLOB : 196Interop.BCrypt.KeyBlobType.BCRYPT_ECCPUBLIC_BLOB; 221Interop.BCrypt.KeyBlobType.BCRYPT_ECCPRIVATE_BLOB : 222Interop.BCrypt.KeyBlobType.BCRYPT_ECCPUBLIC_BLOB;