17 references to KeyBlobMagicNumber
System.Core (17)
System\Security\Cryptography\BCryptNative.cs (9)
45
public BCryptNative.
KeyBlobMagicNumber
dwMagic; // BCRYPT_DSA_PUBLIC_MAGIC_V2 or BCRYPT_DSA_PRIVATE_MAGIC_V2
108
internal
KeyBlobMagicNumber
Magic;
534
out
KeyBlobMagicNumber
algorithmMagic,
540
algorithmMagic =
KeyBlobMagicNumber
.ECDHPublicP256;
545
algorithmMagic =
KeyBlobMagicNumber
.ECDHPublicP384;
550
algorithmMagic =
KeyBlobMagicNumber
.ECDHPublicP521;
555
algorithmMagic =
KeyBlobMagicNumber
.ECDsaPublicP256;
560
algorithmMagic =
KeyBlobMagicNumber
.ECDsaPublicP384;
565
algorithmMagic =
KeyBlobMagicNumber
.ECDsaPublicP521;
System\Security\Cryptography\NCryptNative.cs (1)
953
BCryptNative.
KeyBlobMagicNumber
algorithmMagic;
System\Security\Cryptography\RsaCng.cs (7)
197
if (magic != (int)BCryptNative.
KeyBlobMagicNumber
.RsaPublic)
200
if (magic != (int)BCryptNative.
KeyBlobMagicNumber
.RsaPrivate && magic != (int)BCryptNative.
KeyBlobMagicNumber
.RsaFullPrivateMagic)
209
if (magic != (int)BCryptNative.
KeyBlobMagicNumber
.RsaPrivate && magic != (int)BCryptNative.
KeyBlobMagicNumber
.RsaFullPrivateMagic)
355
pBcryptBlob->Magic = publicOnly ? BCryptNative.
KeyBlobMagicNumber
.RsaPublic :
356
BCryptNative.
KeyBlobMagicNumber
.RsaPrivate;