Enum SecurityEntityFactory.Default
java.lang.Object
java.lang.Enum<SecurityEntityFactory.Default>
org.apache.sshd.common.util.security.SecurityEntityFactory.Default
- All Implemented Interfaces:
Serializable, Comparable<SecurityEntityFactory.Default>, SecurityEntityFactory
- Enclosing interface:
SecurityEntityFactory
public static enum SecurityEntityFactory.Default
extends Enum<SecurityEntityFactory.Default>
implements SecurityEntityFactory
- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
Nested classes/interfaces inherited from interface SecurityEntityFactory
SecurityEntityFactory.ByProvider, SecurityEntityFactory.Default, SecurityEntityFactory.Named -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncreateAlgorithmParameters(String algorithm) createCertificateFactory(String algorithm) createCipher(String algorithm) createKeyAgreement(String algorithm) createKeyFactory(String algorithm) createKeyPairGenerator(String algorithm) createMessageDigest(String algorithm) createSecureRandom(String algorithm) createSignature(String algorithm) Returns the enum constant of this type with the specified name.static SecurityEntityFactory.Default[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
createAlgorithmParameters
public AlgorithmParameters createAlgorithmParameters(String algorithm) throws GeneralSecurityException - Specified by:
createAlgorithmParametersin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createCertificateFactory
public CertificateFactory createCertificateFactory(String algorithm) throws GeneralSecurityException - Specified by:
createCertificateFactoryin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createCipher
- Specified by:
createCipherin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createKeyAgreement
- Specified by:
createKeyAgreementin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createKeyFactory
- Specified by:
createKeyFactoryin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createKeyPairGenerator
- Specified by:
createKeyPairGeneratorin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createMac
- Specified by:
createMacin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createMessageDigest
- Specified by:
createMessageDigestin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createSignature
- Specified by:
createSignaturein interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createSecureRandom
- Specified by:
createSecureRandomin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-
createKEM
- Specified by:
createKEMin interfaceSecurityEntityFactory- Throws:
GeneralSecurityException
-