C# Class Org.BouncyCastle.Security.ParameterUtilities

Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
CreateKeyParameter ( DerObjectIdentifier algOid, byte keyBytes ) : KeyParameter
CreateKeyParameter ( DerObjectIdentifier algOid, byte keyBytes, int offset, int length ) : KeyParameter
CreateKeyParameter ( string algorithm, byte keyBytes ) : KeyParameter
CreateKeyParameter ( string algorithm, byte keyBytes, int offset, int length ) : KeyParameter
GenerateParameters ( DerObjectIdentifier algID, SecureRandom random ) : Asn1Encodable
GenerateParameters ( string algorithm, SecureRandom random ) : Asn1Encodable
GetCanonicalAlgorithmName ( string algorithm ) : string
GetCipherParameters ( DerObjectIdentifier algOid, ICipherParameters key, Asn1Object asn1Params ) : ICipherParameters
GetCipherParameters ( string algorithm, ICipherParameters key, Asn1Object asn1Params ) : ICipherParameters

Private Methods

Méthode Description
AddAlgorithm ( string canonicalName ) : void
AddBasicIVSizeEntries ( int size ) : void
CreateIV ( SecureRandom random, int ivLength ) : byte[]
CreateIVOctetString ( SecureRandom random, int ivLength ) : Asn1OctetString
FindBasicIVSize ( string canonicalName ) : int
ParameterUtilities ( ) : System

Method Details

CreateKeyParameter() public static méthode

public static CreateKeyParameter ( DerObjectIdentifier algOid, byte keyBytes ) : KeyParameter
algOid Org.BouncyCastle.Asn1.DerObjectIdentifier
keyBytes byte
Résultat Org.BouncyCastle.Crypto.Parameters.KeyParameter

CreateKeyParameter() public static méthode

public static CreateKeyParameter ( DerObjectIdentifier algOid, byte keyBytes, int offset, int length ) : KeyParameter
algOid Org.BouncyCastle.Asn1.DerObjectIdentifier
keyBytes byte
offset int
length int
Résultat Org.BouncyCastle.Crypto.Parameters.KeyParameter

CreateKeyParameter() public static méthode

public static CreateKeyParameter ( string algorithm, byte keyBytes ) : KeyParameter
algorithm string
keyBytes byte
Résultat Org.BouncyCastle.Crypto.Parameters.KeyParameter

CreateKeyParameter() public static méthode

public static CreateKeyParameter ( string algorithm, byte keyBytes, int offset, int length ) : KeyParameter
algorithm string
keyBytes byte
offset int
length int
Résultat Org.BouncyCastle.Crypto.Parameters.KeyParameter

GenerateParameters() public static méthode

public static GenerateParameters ( DerObjectIdentifier algID, SecureRandom random ) : Asn1Encodable
algID Org.BouncyCastle.Asn1.DerObjectIdentifier
random SecureRandom
Résultat Org.BouncyCastle.Asn1.Asn1Encodable

GenerateParameters() public static méthode

public static GenerateParameters ( string algorithm, SecureRandom random ) : Asn1Encodable
algorithm string
random SecureRandom
Résultat Org.BouncyCastle.Asn1.Asn1Encodable

GetCanonicalAlgorithmName() public static méthode

public static GetCanonicalAlgorithmName ( string algorithm ) : string
algorithm string
Résultat string

GetCipherParameters() public static méthode

public static GetCipherParameters ( DerObjectIdentifier algOid, ICipherParameters key, Asn1Object asn1Params ) : ICipherParameters
algOid Org.BouncyCastle.Asn1.DerObjectIdentifier
key ICipherParameters
asn1Params Org.BouncyCastle.Asn1.Asn1Object
Résultat ICipherParameters

GetCipherParameters() public static méthode

public static GetCipherParameters ( string algorithm, ICipherParameters key, Asn1Object asn1Params ) : ICipherParameters
algorithm string
key ICipherParameters
asn1Params Org.BouncyCastle.Asn1.Asn1Object
Résultat ICipherParameters