C# Class Org.BouncyCastle.Cms.CmsPbeKey

Inheritance: ICipherParameters
Mostra file Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
CmsPbeKey ( string password, AlgorithmIdentifier keyDerivationAlgorithm ) : System
CmsPbeKey ( string password, byte salt, int iterationCount ) : System
GetEncoded ( ) : byte[]

Private Methods

Method Description
GetEncoded ( string algorithmOid ) : KeyParameter
GetSalt ( ) : byte[]

Method Details

CmsPbeKey() public method

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

CmsPbeKey() public method

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

GetEncoded() public method

public GetEncoded ( ) : byte[]
return byte[]