Definition at line 551 of file RSACng.cs.
552 {
554 {
555 if (magic != global::Interop.BCrypt.KeyBlobMagicNumber.BCRYPT_RSAPRIVATE_MAGIC && magic != global::Interop.BCrypt.KeyBlobMagicNumber.BCRYPT_RSAFULLPRIVATE_MAGIC)
556 {
558 }
559 }
560 else if (magic != global::Interop.BCrypt.KeyBlobMagicNumber.BCRYPT_RSAPUBLIC_MAGIC && magic != global::Interop.BCrypt.KeyBlobMagicNumber.BCRYPT_RSAPRIVATE_MAGIC && magic != global::Interop.BCrypt.KeyBlobMagicNumber.BCRYPT_RSAFULLPRIVATE_MAGIC)
561 {
563 }
564 }
static string Cryptography_NotValidPrivateKey
static string Cryptography_NotValidPublicOrPrivateKey
References System.SR.Cryptography_NotValidPrivateKey, and System.SR.Cryptography_NotValidPublicOrPrivateKey.
Referenced by System.Security.Cryptography.RSACng.ExportParameters().