C# Class Org.BouncyCastle.Cms.Pkcs5Scheme2PbeKey

PKCS5 scheme-2 - password converted to bytes assuming ASCII.
Inheritance: CmsPbeKey
Datei anzeigen Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
Pkcs5Scheme2PbeKey ( string password, AlgorithmIdentifier keyDerivationAlgorithm ) : System
Pkcs5Scheme2PbeKey ( string password, byte salt, int iterationCount ) : System

Private Methods

Method Description
GetEncoded ( string algorithmOid ) : KeyParameter

Method Details

Pkcs5Scheme2PbeKey() public method

public Pkcs5Scheme2PbeKey ( string password, AlgorithmIdentifier keyDerivationAlgorithm ) : System
password string
keyDerivationAlgorithm Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
return System

Pkcs5Scheme2PbeKey() public method

public Pkcs5Scheme2PbeKey ( string password, byte salt, int iterationCount ) : System
password string
salt byte
iterationCount int
return System