14 instantiations of CngKeyBlobFormat
System.Security.Cryptography (14)
System\Security\Cryptography\CngKeyBlobFormat.cs (14)
93
return s_eccPrivate ??= new
CngKeyBlobFormat
("ECCPRIVATEBLOB"); // BCRYPT_ECCPRIVATE_BLOB
101
return s_eccPublic ??= new
CngKeyBlobFormat
("ECCPUBLICBLOB"); // BCRYPT_ECCPUBLIC_BLOB
109
return s_eccFullPrivate ??= new
CngKeyBlobFormat
("ECCFULLPRIVATEBLOB"); // BCRYPT_ECCFULLPRIVATE_BLOB
117
return s_eccFullPublic ??= new
CngKeyBlobFormat
("ECCFULLPUBLICBLOB"); // BCRYPT_ECCFULLPUBLIC_BLOB
125
return s_genericPrivate ??= new
CngKeyBlobFormat
("PRIVATEBLOB"); // BCRYPT_PRIVATE_KEY_BLOB
133
return s_genericPublic ??= new
CngKeyBlobFormat
("PUBLICBLOB"); // BCRYPT_PUBLIC_KEY_BLOB
150
field ??= new
CngKeyBlobFormat
("PQDSAPUBLICBLOB"); // BCRYPT_PQDSA_PUBLIC_BLOB
165
field ??= new
CngKeyBlobFormat
("PQDSAPRIVATEBLOB"); // BCRYPT_PQDSA_PRIVATE_BLOB
180
field ??= new
CngKeyBlobFormat
("PQDSAPRIVATESEEDBLOB"); // BCRYPT_PQDSA_PRIVATE_SEED_BLOB
194
public static CngKeyBlobFormat MLKemPublicBlob => field ??= new
CngKeyBlobFormat
("MLKEMPUBLICBLOB");
208
public static CngKeyBlobFormat MLKemPrivateBlob => field ??= new
CngKeyBlobFormat
("MLKEMPRIVATEBLOB");
222
public static CngKeyBlobFormat MLKemPrivateSeedBlob => field ??= new
CngKeyBlobFormat
("MLKEMPRIVATESEEDBLOB");
228
return s_opaqueTransport ??= new
CngKeyBlobFormat
("OpaqueTransport"); // NCRYPT_OPAQUETRANSPORT_BLOB
236
return s_pkcs8Private ??= new
CngKeyBlobFormat
("PKCS8_PRIVATEKEY"); // NCRYPT_PKCS8_PRIVATE_KEY_BLOB
48 references to CngKeyBlobFormat
System.Core (1)
System.Core.cs (1)
204
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
CngKeyBlobFormat
))]
System.Security.Cryptography (46)
System\Security\Cryptography\Cng.NotSupported.cs (5)
126
public byte[] Export(
CngKeyBlobFormat
format) => null!;
168
public static CngKey Import(byte[] keyBlob,
CngKeyBlobFormat
format)
174
public static CngKey Import(byte[] keyBlob,
CngKeyBlobFormat
format, CngProvider provider)
276
public
CngKeyBlobFormat
BlobFormat => null!;
281
public static ECDiffieHellmanPublicKey FromByteArray(byte[] publicKeyBlob,
CngKeyBlobFormat
format)
System\Security\Cryptography\CngKeyBlobFormat.cs (41)
17
public sealed class CngKeyBlobFormat : IEquatable<
CngKeyBlobFormat
>
36
public static bool operator ==(
CngKeyBlobFormat
? left,
CngKeyBlobFormat
? right)
46
public static bool operator !=(
CngKeyBlobFormat
? left,
CngKeyBlobFormat
? right)
60
return Equals(obj as
CngKeyBlobFormat
);
63
public bool Equals([NotNullWhen(true)]
CngKeyBlobFormat
? other)
89
public static
CngKeyBlobFormat
EccPrivateBlob
97
public static
CngKeyBlobFormat
EccPublicBlob
105
public static
CngKeyBlobFormat
EccFullPrivateBlob
113
public static
CngKeyBlobFormat
EccFullPublicBlob
121
public static
CngKeyBlobFormat
GenericPrivateBlob
129
public 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
149
public static
CngKeyBlobFormat
PQDsaPublicBlob =>
153
/// Gets a <see cref="
CngKeyBlobFormat
"/> object that specifies a Post-Quantum Digital Signature Algorithm
157
/// A <see cref="
CngKeyBlobFormat
"/> object that specifies a Post-Quantum Digital Signature Algorithm
164
public static
CngKeyBlobFormat
PQDsaPrivateBlob =>
168
/// Gets a <see cref="
CngKeyBlobFormat
"/> object that specifies a Post-Quantum Digital Signature Algorithm
172
/// A <see cref="
CngKeyBlobFormat
"/> object that specifies a Post-Quantum Digital Signature Algorithm
179
public static
CngKeyBlobFormat
PQDsaPrivateSeedBlob =>
183
/// Gets a <see cref="
CngKeyBlobFormat
"/> object that specifies a Module-Lattice-Based Key-Encapsulation
187
/// A <see cref="
CngKeyBlobFormat
"/> object that specifies a Module-Lattice-Based Key-Encapsulation
194
public static
CngKeyBlobFormat
MLKemPublicBlob => field ??= new CngKeyBlobFormat("MLKEMPUBLICBLOB");
197
/// Gets a <see cref="
CngKeyBlobFormat
"/> object that specifies a Module-Lattice-Based Key-Encapsulation
201
/// A <see cref="
CngKeyBlobFormat
"/> object that specifies a Module-Lattice-Based Key-Encapsulation
208
public static
CngKeyBlobFormat
MLKemPrivateBlob => field ??= new CngKeyBlobFormat("MLKEMPRIVATEBLOB");
211
/// Gets a <see cref="
CngKeyBlobFormat
"/> object that specifies a Module-Lattice-Based Key-Encapsulation
215
/// A <see cref="
CngKeyBlobFormat
"/> object that specifies a Module-Lattice-Based Key-Encapsulation
222
public static
CngKeyBlobFormat
MLKemPrivateSeedBlob => field ??= new CngKeyBlobFormat("MLKEMPRIVATESEEDBLOB");
224
public static
CngKeyBlobFormat
OpaqueTransportBlob
232
public static
CngKeyBlobFormat
Pkcs8PrivateBlob
240
private static
CngKeyBlobFormat
? s_eccPrivate;
241
private static
CngKeyBlobFormat
? s_eccPublic;
242
private static
CngKeyBlobFormat
? s_eccFullPrivate;
243
private static
CngKeyBlobFormat
? s_eccFullPublic;
244
private static
CngKeyBlobFormat
? s_genericPrivate;
245
private static
CngKeyBlobFormat
? s_genericPublic;
246
private static
CngKeyBlobFormat
? s_opaqueTransport;
247
private 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
))]