Class StaticAlgorithmRegistry
java.lang.Object
se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
- All Implemented Interfaces:
AlgorithmRegistry
Static implementation of the
AlgorithmRegistry
with fixed defaults.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Algorithm[]
Gets an array of the block encryption algorithms that the static algorithm registry supports.static Algorithm[]
Gets an array of the digest algorithms that the static algorithm registry supports.static Algorithm[]
Gets an array of the key transport algorithms that the static algorithm registry supports.static Algorithm[]
Gets an array of the MAC algorithms that the static algorithm registry supports.static Algorithm[]
Gets an array of the signature algorithms that the static algorithm registry supports.static Algorithm[]
Gets an array of the symmetric key wrap algorithms that the static algorithm registry supports.Methods inherited from class se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
getAlgorithm, getAlgorithm, getAlgorithm, getAlgorithm, getAlgorithms, getAlgorithms, register, unregister
-
Constructor Details
-
StaticAlgorithmRegistry
public StaticAlgorithmRegistry()Default constructor.
-
-
Method Details
-
getDefaultDigestAlgorithms
Gets an array of the digest algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultSignatureAlgorithms
Gets an array of the signature algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultMacAlgorithms
Gets an array of the MAC algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultSymmetricKeyWrapAlgorithms
Gets an array of the symmetric key wrap algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultBlockEncryptionAlgorithms
Gets an array of the block encryption algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultKeyTransportAlgorithms
Gets an array of the key transport algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-