C# Class Org.BouncyCastle.Pkcs.PrivateKeyInfoFactory

Show file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
CreatePrivateKeyInfo ( AsymmetricKeyParameter key ) : PrivateKeyInfo
CreatePrivateKeyInfo ( char passPhrase, EncryptedPrivateKeyInfo encInfo ) : PrivateKeyInfo
CreatePrivateKeyInfo ( char passPhrase, bool wrongPkcs12Zero, EncryptedPrivateKeyInfo encInfo ) : PrivateKeyInfo

Private Methods

Method Description
PrivateKeyInfoFactory ( ) : System

Method Details

CreatePrivateKeyInfo() public static method

public static CreatePrivateKeyInfo ( AsymmetricKeyParameter key ) : PrivateKeyInfo
key Org.BouncyCastle.Crypto.AsymmetricKeyParameter
return Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo

CreatePrivateKeyInfo() public static method

public static CreatePrivateKeyInfo ( char passPhrase, EncryptedPrivateKeyInfo encInfo ) : PrivateKeyInfo
passPhrase char
encInfo Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo
return Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo

CreatePrivateKeyInfo() public static method

public static CreatePrivateKeyInfo ( char passPhrase, bool wrongPkcs12Zero, EncryptedPrivateKeyInfo encInfo ) : PrivateKeyInfo
passPhrase char
wrongPkcs12Zero bool
encInfo Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo
return Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo