8 instantiations of CngKeyBlobFormat
System.Security.Cryptography (8)
System\Security\Cryptography\CngKeyBlobFormat.cs (8)
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
141
return s_opaqueTransport ??= new
CngKeyBlobFormat
("OpaqueTransport"); // NCRYPT_OPAQUETRANSPORT_BLOB
149
return s_pkcs8Private ??= new
CngKeyBlobFormat
("PKCS8_PRIVATEKEY"); // NCRYPT_PKCS8_PRIVATE_KEY_BLOB
30 references to CngKeyBlobFormat
System.Core (1)
System.Core.cs (1)
204
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
CngKeyBlobFormat
))]
System.Security.Cryptography (28)
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 (23)
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
137
public static
CngKeyBlobFormat
OpaqueTransportBlob
145
public static
CngKeyBlobFormat
Pkcs8PrivateBlob
154
private static
CngKeyBlobFormat
? s_eccPrivate;
155
private static
CngKeyBlobFormat
? s_eccPublic;
156
private static
CngKeyBlobFormat
? s_eccFullPrivate;
157
private static
CngKeyBlobFormat
? s_eccFullPublic;
158
private static
CngKeyBlobFormat
? s_genericPrivate;
159
private static
CngKeyBlobFormat
? s_genericPublic;
160
private static
CngKeyBlobFormat
? s_opaqueTransport;
161
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
))]