C# Class Org.BouncyCastle.Security.PbeUtilities

Afficher le fichier Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Méthodes publiques

Méthode Description
CreateEngine ( AlgorithmIdentifier algID ) : object
CreateEngine ( DerObjectIdentifier algorithmOid ) : object
CreateEngine ( string algorithm ) : object
GenerateAlgorithmParameters ( DerObjectIdentifier algorithmOid, byte salt, int iterationCount ) : Asn1Encodable
GenerateAlgorithmParameters ( string algorithm, byte salt, int iterationCount ) : Asn1Encodable
GenerateCipherParameters ( AlgorithmIdentifier algID, char password, bool wrongPkcs12Zero ) : ICipherParameters
GenerateCipherParameters ( DerObjectIdentifier algorithmOid, char password, Asn1Encodable pbeParameters ) : ICipherParameters
GenerateCipherParameters ( DerObjectIdentifier algorithmOid, char password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters ) : ICipherParameters
GenerateCipherParameters ( string algorithm, char password, Asn1Encodable pbeParameters ) : ICipherParameters
GenerateCipherParameters ( string algorithm, char password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters ) : ICipherParameters
GetEncodingName ( DerObjectIdentifier oid ) : string
GetObjectIdentifier ( string mechanism ) : DerObjectIdentifier

Returns a ObjectIdentifier for a give encoding.

IsOpenSsl ( string algorithm ) : bool
IsPbeAlgorithm ( string algorithm ) : bool
IsPkcs12 ( string algorithm ) : bool
IsPkcs5Scheme1 ( string algorithm ) : bool
IsPkcs5Scheme2 ( string algorithm ) : bool

Private Methods

Méthode Description
EndsWith ( string s, string ending ) : bool
MakePbeGenerator ( string type, IDigest digest, byte key, byte salt, int iterationCount ) : PbeParametersGenerator
PbeUtilities ( ) : System

Method Details

CreateEngine() public static méthode

public static CreateEngine ( AlgorithmIdentifier algID ) : object
algID Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
Résultat object

CreateEngine() public static méthode

public static CreateEngine ( DerObjectIdentifier algorithmOid ) : object
algorithmOid Org.BouncyCastle.Asn1.DerObjectIdentifier
Résultat object

CreateEngine() public static méthode

public static CreateEngine ( string algorithm ) : object
algorithm string
Résultat object

GenerateAlgorithmParameters() public static méthode

public static GenerateAlgorithmParameters ( DerObjectIdentifier algorithmOid, byte salt, int iterationCount ) : Asn1Encodable
algorithmOid Org.BouncyCastle.Asn1.DerObjectIdentifier
salt byte
iterationCount int
Résultat Org.BouncyCastle.Asn1.Asn1Encodable

GenerateAlgorithmParameters() public static méthode

public static GenerateAlgorithmParameters ( string algorithm, byte salt, int iterationCount ) : Asn1Encodable
algorithm string
salt byte
iterationCount int
Résultat Org.BouncyCastle.Asn1.Asn1Encodable

GenerateCipherParameters() public static méthode

public static GenerateCipherParameters ( AlgorithmIdentifier algID, char password, bool wrongPkcs12Zero ) : ICipherParameters
algID Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
password char
wrongPkcs12Zero bool
Résultat ICipherParameters

GenerateCipherParameters() public static méthode

public static GenerateCipherParameters ( DerObjectIdentifier algorithmOid, char password, Asn1Encodable pbeParameters ) : ICipherParameters
algorithmOid Org.BouncyCastle.Asn1.DerObjectIdentifier
password char
pbeParameters Org.BouncyCastle.Asn1.Asn1Encodable
Résultat ICipherParameters

GenerateCipherParameters() public static méthode

public static GenerateCipherParameters ( DerObjectIdentifier algorithmOid, char password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters ) : ICipherParameters
algorithmOid Org.BouncyCastle.Asn1.DerObjectIdentifier
password char
wrongPkcs12Zero bool
pbeParameters Org.BouncyCastle.Asn1.Asn1Encodable
Résultat ICipherParameters

GenerateCipherParameters() public static méthode

public static GenerateCipherParameters ( string algorithm, char password, Asn1Encodable pbeParameters ) : ICipherParameters
algorithm string
password char
pbeParameters Org.BouncyCastle.Asn1.Asn1Encodable
Résultat ICipherParameters

GenerateCipherParameters() public static méthode

public static GenerateCipherParameters ( string algorithm, char password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters ) : ICipherParameters
algorithm string
password char
wrongPkcs12Zero bool
pbeParameters Org.BouncyCastle.Asn1.Asn1Encodable
Résultat ICipherParameters

GetEncodingName() public static méthode

public static GetEncodingName ( DerObjectIdentifier oid ) : string
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
Résultat string

GetObjectIdentifier() public static méthode

Returns a ObjectIdentifier for a give encoding.
public static GetObjectIdentifier ( string mechanism ) : DerObjectIdentifier
mechanism string A string representation of the encoding.
Résultat Org.BouncyCastle.Asn1.DerObjectIdentifier

IsOpenSsl() public static méthode

public static IsOpenSsl ( string algorithm ) : bool
algorithm string
Résultat bool

IsPbeAlgorithm() public static méthode

public static IsPbeAlgorithm ( string algorithm ) : bool
algorithm string
Résultat bool

IsPkcs12() public static méthode

public static IsPkcs12 ( string algorithm ) : bool
algorithm string
Résultat bool

IsPkcs5Scheme1() public static méthode

public static IsPkcs5Scheme1 ( string algorithm ) : bool
algorithm string
Résultat bool

IsPkcs5Scheme2() public static méthode

public static IsPkcs5Scheme2 ( string algorithm ) : bool
algorithm string
Résultat bool