14 instantiations of CngKeyBlobFormat
System.Security.Cryptography (14)
System\Security\Cryptography\CngKeyBlobFormat.cs (14)
93return s_eccPrivate ??= new CngKeyBlobFormat("ECCPRIVATEBLOB"); // BCRYPT_ECCPRIVATE_BLOB 101return s_eccPublic ??= new CngKeyBlobFormat("ECCPUBLICBLOB"); // BCRYPT_ECCPUBLIC_BLOB 109return s_eccFullPrivate ??= new CngKeyBlobFormat("ECCFULLPRIVATEBLOB"); // BCRYPT_ECCFULLPRIVATE_BLOB 117return s_eccFullPublic ??= new CngKeyBlobFormat("ECCFULLPUBLICBLOB"); // BCRYPT_ECCFULLPUBLIC_BLOB 125return s_genericPrivate ??= new CngKeyBlobFormat("PRIVATEBLOB"); // BCRYPT_PRIVATE_KEY_BLOB 133return s_genericPublic ??= new CngKeyBlobFormat("PUBLICBLOB"); // BCRYPT_PUBLIC_KEY_BLOB 149field ??= new CngKeyBlobFormat("PQDSAPUBLICBLOB"); // BCRYPT_PQDSA_PUBLIC_BLOB 163field ??= new CngKeyBlobFormat("PQDSAPRIVATEBLOB"); // BCRYPT_PQDSA_PRIVATE_BLOB 177field ??= new CngKeyBlobFormat("PQDSAPRIVATESEEDBLOB"); // BCRYPT_PQDSA_PRIVATE_SEED_BLOB 190public static CngKeyBlobFormat MLKemPublicBlob => field ??= new CngKeyBlobFormat("MLKEMPUBLICBLOB"); 203public static CngKeyBlobFormat MLKemPrivateBlob => field ??= new CngKeyBlobFormat("MLKEMPRIVATEBLOB"); 216public static CngKeyBlobFormat MLKemPrivateSeedBlob => field ??= new CngKeyBlobFormat("MLKEMPRIVATESEEDBLOB"); 222return s_opaqueTransport ??= new CngKeyBlobFormat("OpaqueTransport"); // NCRYPT_OPAQUETRANSPORT_BLOB 230return s_pkcs8Private ??= new CngKeyBlobFormat("PKCS8_PRIVATEKEY"); // NCRYPT_PKCS8_PRIVATE_KEY_BLOB
48 references to CngKeyBlobFormat
System.Core (1)
System.Core.cs (1)
205[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngKeyBlobFormat))]
System.Security.Cryptography (46)
System\Security\Cryptography\Cng.NotSupported.cs (5)
126public byte[] Export(CngKeyBlobFormat format) => null!; 168public static CngKey Import(byte[] keyBlob, CngKeyBlobFormat format) 174public static CngKey Import(byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider) 276public CngKeyBlobFormat BlobFormat => null!; 281public static ECDiffieHellmanPublicKey FromByteArray(byte[] publicKeyBlob, CngKeyBlobFormat format)
System\Security\Cryptography\CngKeyBlobFormat.cs (41)
17public sealed class CngKeyBlobFormat : IEquatable<CngKeyBlobFormat> 36public static bool operator ==(CngKeyBlobFormat? left, CngKeyBlobFormat? right) 46public static bool operator !=(CngKeyBlobFormat? left, CngKeyBlobFormat? right) 60return Equals(obj as CngKeyBlobFormat); 63public bool Equals([NotNullWhen(true)] CngKeyBlobFormat? other) 89public static CngKeyBlobFormat EccPrivateBlob 97public static CngKeyBlobFormat EccPublicBlob 105public static CngKeyBlobFormat EccFullPrivateBlob 113public static CngKeyBlobFormat EccFullPublicBlob 121public static CngKeyBlobFormat GenericPrivateBlob 129public static CngKeyBlobFormat GenericPublicBlob 138/// Gets a <see cref="CngKeyBlobFormat"/> object that specifies a Post-Quantum Digital Signature Algorithm 142/// A <see cref="CngKeyBlobFormat"/> object that specifies a Post-Quantum Digital Signature Algorithm 148public static CngKeyBlobFormat PQDsaPublicBlob => 152/// Gets a <see cref="CngKeyBlobFormat"/> object that specifies a Post-Quantum Digital Signature Algorithm 156/// A <see cref="CngKeyBlobFormat"/> object that specifies a Post-Quantum Digital Signature Algorithm 162public static CngKeyBlobFormat PQDsaPrivateBlob => 166/// Gets a <see cref="CngKeyBlobFormat"/> object that specifies a Post-Quantum Digital Signature Algorithm 170/// A <see cref="CngKeyBlobFormat"/> object that specifies a Post-Quantum Digital Signature Algorithm 176public static CngKeyBlobFormat PQDsaPrivateSeedBlob => 180/// Gets a <see cref="CngKeyBlobFormat"/> object that specifies a Module-Lattice-Based Key-Encapsulation 184/// A <see cref="CngKeyBlobFormat"/> object that specifies a Module-Lattice-Based Key-Encapsulation 190public static CngKeyBlobFormat MLKemPublicBlob => field ??= new CngKeyBlobFormat("MLKEMPUBLICBLOB"); 193/// Gets a <see cref="CngKeyBlobFormat"/> object that specifies a Module-Lattice-Based Key-Encapsulation 197/// A <see cref="CngKeyBlobFormat"/> object that specifies a Module-Lattice-Based Key-Encapsulation 203public static CngKeyBlobFormat MLKemPrivateBlob => field ??= new CngKeyBlobFormat("MLKEMPRIVATEBLOB"); 206/// Gets a <see cref="CngKeyBlobFormat"/> object that specifies a Module-Lattice-Based Key-Encapsulation 210/// A <see cref="CngKeyBlobFormat"/> object that specifies a Module-Lattice-Based Key-Encapsulation 216public static CngKeyBlobFormat MLKemPrivateSeedBlob => field ??= new CngKeyBlobFormat("MLKEMPRIVATESEEDBLOB"); 218public static CngKeyBlobFormat OpaqueTransportBlob 226public static CngKeyBlobFormat Pkcs8PrivateBlob 234private static CngKeyBlobFormat? s_eccPrivate; 235private static CngKeyBlobFormat? s_eccPublic; 236private static CngKeyBlobFormat? s_eccFullPrivate; 237private static CngKeyBlobFormat? s_eccFullPublic; 238private static CngKeyBlobFormat? s_genericPrivate; 239private static CngKeyBlobFormat? s_genericPublic; 240private static CngKeyBlobFormat? s_opaqueTransport; 241private static CngKeyBlobFormat? s_pkcs8Private;
System.Security.Cryptography.Cng (1)
System.Security.Cryptography.Cng.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngKeyBlobFormat))]