C# Класс Org.BouncyCastle.Security.PbeUtilities

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
EndsWith ( string s, string ending ) : bool
MakePbeGenerator ( string type, IDigest digest, byte key, byte salt, int iterationCount ) : PbeParametersGenerator
PbeUtilities ( ) : System

Описание методов

CreateEngine() публичный статический Метод

public static CreateEngine ( AlgorithmIdentifier algID ) : object
algID Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
Результат object

CreateEngine() публичный статический Метод

public static CreateEngine ( DerObjectIdentifier algorithmOid ) : object
algorithmOid Org.BouncyCastle.Asn1.DerObjectIdentifier
Результат object

CreateEngine() публичный статический Метод

public static CreateEngine ( string algorithm ) : object
algorithm string
Результат object

GenerateAlgorithmParameters() публичный статический Метод

public static GenerateAlgorithmParameters ( DerObjectIdentifier algorithmOid, byte salt, int iterationCount ) : Asn1Encodable
algorithmOid Org.BouncyCastle.Asn1.DerObjectIdentifier
salt byte
iterationCount int
Результат Org.BouncyCastle.Asn1.Asn1Encodable

GenerateAlgorithmParameters() публичный статический Метод

public static GenerateAlgorithmParameters ( string algorithm, byte salt, int iterationCount ) : Asn1Encodable
algorithm string
salt byte
iterationCount int
Результат Org.BouncyCastle.Asn1.Asn1Encodable

GenerateCipherParameters() публичный статический Метод

public static GenerateCipherParameters ( AlgorithmIdentifier algID, char password, bool wrongPkcs12Zero ) : ICipherParameters
algID Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
password char
wrongPkcs12Zero bool
Результат ICipherParameters

GenerateCipherParameters() публичный статический Метод

public static GenerateCipherParameters ( DerObjectIdentifier algorithmOid, char password, Asn1Encodable pbeParameters ) : ICipherParameters
algorithmOid Org.BouncyCastle.Asn1.DerObjectIdentifier
password char
pbeParameters Org.BouncyCastle.Asn1.Asn1Encodable
Результат ICipherParameters

GenerateCipherParameters() публичный статический Метод

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
Результат ICipherParameters

GenerateCipherParameters() публичный статический Метод

public static GenerateCipherParameters ( string algorithm, char password, Asn1Encodable pbeParameters ) : ICipherParameters
algorithm string
password char
pbeParameters Org.BouncyCastle.Asn1.Asn1Encodable
Результат ICipherParameters

GenerateCipherParameters() публичный статический Метод

public static GenerateCipherParameters ( string algorithm, char password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters ) : ICipherParameters
algorithm string
password char
wrongPkcs12Zero bool
pbeParameters Org.BouncyCastle.Asn1.Asn1Encodable
Результат ICipherParameters

GetEncodingName() публичный статический Метод

public static GetEncodingName ( DerObjectIdentifier oid ) : string
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
Результат string

GetObjectIdentifier() публичный статический Метод

Returns a ObjectIdentifier for a give encoding.
public static GetObjectIdentifier ( string mechanism ) : DerObjectIdentifier
mechanism string A string representation of the encoding.
Результат Org.BouncyCastle.Asn1.DerObjectIdentifier

IsOpenSsl() публичный статический Метод

public static IsOpenSsl ( string algorithm ) : bool
algorithm string
Результат bool

IsPbeAlgorithm() публичный статический Метод

public static IsPbeAlgorithm ( string algorithm ) : bool
algorithm string
Результат bool

IsPkcs12() публичный статический Метод

public static IsPkcs12 ( string algorithm ) : bool
algorithm string
Результат bool

IsPkcs5Scheme1() публичный статический Метод

public static IsPkcs5Scheme1 ( string algorithm ) : bool
algorithm string
Результат bool

IsPkcs5Scheme2() публичный статический Метод

public static IsPkcs5Scheme2 ( string algorithm ) : bool
algorithm string
Результат bool