C# Class Org.BouncyCastle.Security.PrivateKeyFactory

Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
CreateKey ( PrivateKeyInfo keyInfo ) : AsymmetricKeyParameter
CreateKey ( Stream inStr ) : AsymmetricKeyParameter
CreateKey ( byte privateKeyInfoData ) : AsymmetricKeyParameter
DecryptKey ( char passPhrase, EncryptedPrivateKeyInfo encInfo ) : AsymmetricKeyParameter
DecryptKey ( char passPhrase, Stream encryptedPrivateKeyInfoStream ) : AsymmetricKeyParameter
DecryptKey ( char passPhrase, byte encryptedPrivateKeyInfoData ) : AsymmetricKeyParameter
EncryptKey ( DerObjectIdentifier algorithm, char passPhrase, byte salt, int iterationCount, AsymmetricKeyParameter key ) : byte[]
EncryptKey ( string algorithm, char passPhrase, byte salt, int iterationCount, AsymmetricKeyParameter key ) : byte[]

Private Methods

Méthode Description
DecryptKey ( char passPhrase, Asn1Object asn1Object ) : AsymmetricKeyParameter
PrivateKeyFactory ( ) : System

Method Details

CreateKey() public static méthode

public static CreateKey ( PrivateKeyInfo keyInfo ) : AsymmetricKeyParameter
keyInfo Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

CreateKey() public static méthode

public static CreateKey ( Stream inStr ) : AsymmetricKeyParameter
inStr Stream
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

CreateKey() public static méthode

public static CreateKey ( byte privateKeyInfoData ) : AsymmetricKeyParameter
privateKeyInfoData byte
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

DecryptKey() public static méthode

public static DecryptKey ( char passPhrase, EncryptedPrivateKeyInfo encInfo ) : AsymmetricKeyParameter
passPhrase char
encInfo Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

DecryptKey() public static méthode

public static DecryptKey ( char passPhrase, Stream encryptedPrivateKeyInfoStream ) : AsymmetricKeyParameter
passPhrase char
encryptedPrivateKeyInfoStream Stream
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

DecryptKey() public static méthode

public static DecryptKey ( char passPhrase, byte encryptedPrivateKeyInfoData ) : AsymmetricKeyParameter
passPhrase char
encryptedPrivateKeyInfoData byte
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

EncryptKey() public static méthode

public static EncryptKey ( DerObjectIdentifier algorithm, char passPhrase, byte salt, int iterationCount, AsymmetricKeyParameter key ) : byte[]
algorithm Org.BouncyCastle.Asn1.DerObjectIdentifier
passPhrase char
salt byte
iterationCount int
key Org.BouncyCastle.Crypto.AsymmetricKeyParameter
Résultat byte[]

EncryptKey() public static méthode

public static EncryptKey ( string algorithm, char passPhrase, byte salt, int iterationCount, AsymmetricKeyParameter key ) : byte[]
algorithm string
passPhrase char
salt byte
iterationCount int
key Org.BouncyCastle.Crypto.AsymmetricKeyParameter
Résultat byte[]