Table of Contents

Class PbeUtilities

Namespace
Enterprises.Org.BouncyCastle.Security
Assembly
Enterprises.BouncyCastle.Crypto.dll
public sealed class PbeUtilities
Inheritance
PbeUtilities
Inherited Members

Properties

Algorithms

public static ICollection Algorithms { get; }

Property Value

ICollection

Methods

CreateEngine(DerObjectIdentifier)

public static object CreateEngine(DerObjectIdentifier algorithmOid)

Parameters

algorithmOid DerObjectIdentifier

Returns

object

CreateEngine(AlgorithmIdentifier)

public static object CreateEngine(AlgorithmIdentifier algID)

Parameters

algID AlgorithmIdentifier

Returns

object

CreateEngine(string)

public static object CreateEngine(string algorithm)

Parameters

algorithm string

Returns

object

GenerateAlgorithmParameters(DerObjectIdentifier, byte[], int)

public static Asn1Encodable GenerateAlgorithmParameters(DerObjectIdentifier algorithmOid, byte[] salt, int iterationCount)

Parameters

algorithmOid DerObjectIdentifier
salt byte[]
iterationCount int

Returns

Asn1Encodable

GenerateAlgorithmParameters(string, byte[], int)

public static Asn1Encodable GenerateAlgorithmParameters(string algorithm, byte[] salt, int iterationCount)

Parameters

algorithm string
salt byte[]
iterationCount int

Returns

Asn1Encodable

GenerateCipherParameters(DerObjectIdentifier, char[], Asn1Encodable)

public static ICipherParameters GenerateCipherParameters(DerObjectIdentifier algorithmOid, char[] password, Asn1Encodable pbeParameters)

Parameters

algorithmOid DerObjectIdentifier
password char[]
pbeParameters Asn1Encodable

Returns

ICipherParameters

GenerateCipherParameters(DerObjectIdentifier, char[], bool, Asn1Encodable)

public static ICipherParameters GenerateCipherParameters(DerObjectIdentifier algorithmOid, char[] password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters)

Parameters

algorithmOid DerObjectIdentifier
password char[]
wrongPkcs12Zero bool
pbeParameters Asn1Encodable

Returns

ICipherParameters

GenerateCipherParameters(AlgorithmIdentifier, char[])

public static ICipherParameters GenerateCipherParameters(AlgorithmIdentifier algID, char[] password)

Parameters

algID AlgorithmIdentifier
password char[]

Returns

ICipherParameters

GenerateCipherParameters(AlgorithmIdentifier, char[], bool)

public static ICipherParameters GenerateCipherParameters(AlgorithmIdentifier algID, char[] password, bool wrongPkcs12Zero)

Parameters

algID AlgorithmIdentifier
password char[]
wrongPkcs12Zero bool

Returns

ICipherParameters

GenerateCipherParameters(string, char[], Asn1Encodable)

public static ICipherParameters GenerateCipherParameters(string algorithm, char[] password, Asn1Encodable pbeParameters)

Parameters

algorithm string
password char[]
pbeParameters Asn1Encodable

Returns

ICipherParameters

GenerateCipherParameters(string, char[], bool, Asn1Encodable)

public static ICipherParameters GenerateCipherParameters(string algorithm, char[] password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters)

Parameters

algorithm string
password char[]
wrongPkcs12Zero bool
pbeParameters Asn1Encodable

Returns

ICipherParameters

GetEncodingName(DerObjectIdentifier)

public static string GetEncodingName(DerObjectIdentifier oid)

Parameters

oid DerObjectIdentifier

Returns

string

GetObjectIdentifier(string)

public static DerObjectIdentifier GetObjectIdentifier(string mechanism)

Parameters

mechanism string

Returns

DerObjectIdentifier

IsOpenSsl(string)

public static bool IsOpenSsl(string algorithm)

Parameters

algorithm string

Returns

bool

IsPbeAlgorithm(string)

public static bool IsPbeAlgorithm(string algorithm)

Parameters

algorithm string

Returns

bool

IsPkcs12(string)

public static bool IsPkcs12(string algorithm)

Parameters

algorithm string

Returns

bool

IsPkcs5Scheme1(string)

public static bool IsPkcs5Scheme1(string algorithm)

Parameters

algorithm string

Returns

bool

IsPkcs5Scheme2(string)

public static bool IsPkcs5Scheme2(string algorithm)

Parameters

algorithm string

Returns

bool