C# Class Org.BouncyCastle.Security.GeneratorUtilities

Exibir arquivo Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
GetKeyGenerator ( DerObjectIdentifier oid ) : CipherKeyGenerator
GetKeyGenerator ( string algorithm ) : CipherKeyGenerator
GetKeyPairGenerator ( DerObjectIdentifier oid ) : IAsymmetricCipherKeyPairGenerator
GetKeyPairGenerator ( string algorithm ) : IAsymmetricCipherKeyPairGenerator

Private Methods

Method Description
AddHMacKeyGenerator ( string algorithm ) : void
AddKgAlgorithm ( string canonicalName ) : void
AddKpgAlgorithm ( string canonicalName ) : void
FindDefaultKeySize ( string canonicalName ) : int
GeneratorUtilities ( ) : System.Collections
GetCanonicalKeyGeneratorAlgorithm ( string algorithm ) : string
GetCanonicalKeyPairGeneratorAlgorithm ( string algorithm ) : string
GetDefaultKeySize ( DerObjectIdentifier oid ) : int
GetDefaultKeySize ( string algorithm ) : int

Method Details

GetKeyGenerator() public static method

public static GetKeyGenerator ( DerObjectIdentifier oid ) : CipherKeyGenerator
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
return Org.BouncyCastle.Crypto.CipherKeyGenerator

GetKeyGenerator() public static method

public static GetKeyGenerator ( string algorithm ) : CipherKeyGenerator
algorithm string
return Org.BouncyCastle.Crypto.CipherKeyGenerator

GetKeyPairGenerator() public static method

public static GetKeyPairGenerator ( DerObjectIdentifier oid ) : IAsymmetricCipherKeyPairGenerator
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
return IAsymmetricCipherKeyPairGenerator

GetKeyPairGenerator() public static method

public static GetKeyPairGenerator ( string algorithm ) : IAsymmetricCipherKeyPairGenerator
algorithm string
return IAsymmetricCipherKeyPairGenerator