Class ParameterUtilities
- Namespace
- Enterprises.Org.BouncyCastle.Security
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public sealed class ParameterUtilities
- Inheritance
-
ParameterUtilities
- Inherited Members
-
Methods
CreateKeyParameter(DerObjectIdentifier, byte[])
public static KeyParameter CreateKeyParameter(DerObjectIdentifier algOid, byte[] keyBytes)
Parameters
algOid
DerObjectIdentifier
keyBytes
byte[]
Returns
- KeyParameter
CreateKeyParameter(DerObjectIdentifier, byte[], int, int)
public static KeyParameter CreateKeyParameter(DerObjectIdentifier algOid, byte[] keyBytes, int offset, int length)
Parameters
algOid
DerObjectIdentifier
keyBytes
byte[]
offset
int
length
int
Returns
- KeyParameter
CreateKeyParameter(string, byte[])
public static KeyParameter CreateKeyParameter(string algorithm, byte[] keyBytes)
Parameters
algorithm
string
keyBytes
byte[]
Returns
- KeyParameter
CreateKeyParameter(string, byte[], int, int)
public static KeyParameter CreateKeyParameter(string algorithm, byte[] keyBytes, int offset, int length)
Parameters
algorithm
string
keyBytes
byte[]
offset
int
length
int
Returns
- KeyParameter
GenerateParameters(DerObjectIdentifier, SecureRandom)
public static Asn1Encodable GenerateParameters(DerObjectIdentifier algID, SecureRandom random)
Parameters
algID
DerObjectIdentifier
random
SecureRandom
Returns
- Asn1Encodable
GenerateParameters(string, SecureRandom)
public static Asn1Encodable GenerateParameters(string algorithm, SecureRandom random)
Parameters
algorithm
string
random
SecureRandom
Returns
- Asn1Encodable
GetCanonicalAlgorithmName(string)
public static string GetCanonicalAlgorithmName(string algorithm)
Parameters
algorithm
string
Returns
- string
GetCipherParameters(DerObjectIdentifier, ICipherParameters, Asn1Object)
public static ICipherParameters GetCipherParameters(DerObjectIdentifier algOid, ICipherParameters key, Asn1Object asn1Params)
Parameters
algOid
DerObjectIdentifier
key
ICipherParameters
asn1Params
Asn1Object
Returns
- ICipherParameters
GetCipherParameters(string, ICipherParameters, Asn1Object)
public static ICipherParameters GetCipherParameters(string algorithm, ICipherParameters key, Asn1Object asn1Params)
Parameters
algorithm
string
key
ICipherParameters
asn1Params
Asn1Object
Returns
- ICipherParameters
WithRandom(ICipherParameters, SecureRandom)
public static ICipherParameters WithRandom(ICipherParameters cp, SecureRandom random)
Parameters
cp
ICipherParameters
random
SecureRandom
Returns
- ICipherParameters