11 instantiations of CngKeyBlobFormat
System.Security.Cryptography (11)
System\Security\Cryptography\CngKeyBlobFormat.cs (11)
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
139
field ??= new
CngKeyBlobFormat
("PQDSAPUBLICBLOB"); // BCRYPT_PQDSA_PUBLIC_BLOB
143
field ??= new
CngKeyBlobFormat
("PQDSAPRIVATEBLOB"); // BCRYPT_PQDSA_PRIVATE_BLOB
147
field ??= new
CngKeyBlobFormat
("PQDSAPRIVATESEEDBLOB"); // BCRYPT_PQDSA_PRIVATE_SEED_BLOB
153
return s_opaqueTransport ??= new
CngKeyBlobFormat
("OpaqueTransport"); // NCRYPT_OPAQUETRANSPORT_BLOB
161
return s_pkcs8Private ??= new
CngKeyBlobFormat
("PKCS8_PRIVATEKEY"); // NCRYPT_PKCS8_PRIVATE_KEY_BLOB
33 references to CngKeyBlobFormat
System.Core (1)
System.Core.cs (1)
204
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
CngKeyBlobFormat
))]
System.Security.Cryptography (31)
System\Security\Cryptography\Cng.NotSupported.cs (5)
120
public byte[] Export(
CngKeyBlobFormat
format) => null!;
162
public static CngKey Import(byte[] keyBlob,
CngKeyBlobFormat
format)
168
public static CngKey Import(byte[] keyBlob,
CngKeyBlobFormat
format, CngProvider provider)
270
public
CngKeyBlobFormat
BlobFormat => null!;
275
public static ECDiffieHellmanPublicKey FromByteArray(byte[] publicKeyBlob,
CngKeyBlobFormat
format)
System\Security\Cryptography\CngKeyBlobFormat.cs (26)
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
public static
CngKeyBlobFormat
PQDsaPublicBlob =>
142
public static
CngKeyBlobFormat
PQDsaPrivateBlob =>
146
public static
CngKeyBlobFormat
PQDsaPrivateSeedBlob =>
149
public static
CngKeyBlobFormat
OpaqueTransportBlob
157
public static
CngKeyBlobFormat
Pkcs8PrivateBlob
165
private static
CngKeyBlobFormat
? s_eccPrivate;
166
private static
CngKeyBlobFormat
? s_eccPublic;
167
private static
CngKeyBlobFormat
? s_eccFullPrivate;
168
private static
CngKeyBlobFormat
? s_eccFullPublic;
169
private static
CngKeyBlobFormat
? s_genericPrivate;
170
private static
CngKeyBlobFormat
? s_genericPublic;
171
private static
CngKeyBlobFormat
? s_opaqueTransport;
172
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
))]