DecryptKey() private static method

private static DecryptKey ( char passPhrase, Asn1Object asn1Object ) : AsymmetricKeyParameter
passPhrase char
asn1Object Org.BouncyCastle.Asn1.Asn1Object
return Org.BouncyCastle.Crypto.AsymmetricKeyParameter
コード例 #1
0
 public static AsymmetricKeyParameter DecryptKey(char[] passPhrase, Stream encryptedPrivateKeyInfoStream)
 {
     return(PrivateKeyFactory.DecryptKey(passPhrase, Asn1Object.FromStream(encryptedPrivateKeyInfoStream)));
 }
コード例 #2
0
 private static AsymmetricKeyParameter DecryptKey(char[] passPhrase, Asn1Object asn1Object)
 {
     return(PrivateKeyFactory.DecryptKey(passPhrase, EncryptedPrivateKeyInfo.GetInstance(asn1Object)));
 }
コード例 #3
0
 public static AsymmetricKeyParameter DecryptKey(char[] passPhrase, byte[] encryptedPrivateKeyInfoData)
 {
     return(PrivateKeyFactory.DecryptKey(passPhrase, Asn1Object.FromByteArray(encryptedPrivateKeyInfoData)));
 }