public static CreateKey ( |
||
keyInfo | ||
Результат |
public static AsymmetricKeyParameter CreateKey(byte[] privateKeyInfoData) { return(PrivateKeyFactory.CreateKey(PrivateKeyInfo.GetInstance(Asn1Object.FromByteArray(privateKeyInfoData)))); }
public static AsymmetricKeyParameter CreateKey(Stream inStr) { return(PrivateKeyFactory.CreateKey(PrivateKeyInfo.GetInstance(Asn1Object.FromStream(inStr)))); }
public static AsymmetricKeyParameter DecryptKey(char[] passPhrase, EncryptedPrivateKeyInfo encInfo) { return(PrivateKeyFactory.CreateKey(PrivateKeyInfoFactory.CreatePrivateKeyInfo(passPhrase, encInfo))); }