Class StaticAlgorithmRegistry
- java.lang.Object
-
- se.swedenconnect.security.algorithms.impl.AlgorithmRegistryImpl
-
- se.swedenconnect.security.algorithms.impl.StaticAlgorithmRegistry
-
- All Implemented Interfaces:
AlgorithmRegistry
public class StaticAlgorithmRegistry extends AlgorithmRegistryImpl
Static implementation of theAlgorithmRegistrywith fixed defaults.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
-
Constructor Summary
Constructors Constructor Description StaticAlgorithmRegistry()Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Algorithm[]getDefaultBlockEncryptionAlgorithms()Gets an array of the block encryption algorithms that the static algorithm registry supports.static Algorithm[]getDefaultDigestAlgorithms()Gets an array of the digest algorithms that the static algorithm registry supports.static Algorithm[]getDefaultKeyTransportAlgorithms()Gets an array of the key transport algorithms that the static algorithm registry supports.static Algorithm[]getDefaultMacAlgorithms()Gets an array of the MAC algorithms that the static algorithm registry supports.static Algorithm[]getDefaultSignatureAlgorithms()Gets an array of the signature algorithms that the static algorithm registry supports.static Algorithm[]getDefaultSymmetricKeyWrapAlgorithms()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
-
-
-
-
Method Detail
-
getDefaultDigestAlgorithms
public static Algorithm[] getDefaultDigestAlgorithms()
Gets an array of the digest algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultSignatureAlgorithms
public static Algorithm[] getDefaultSignatureAlgorithms()
Gets an array of the signature algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultMacAlgorithms
public static Algorithm[] getDefaultMacAlgorithms()
Gets an array of the MAC algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultSymmetricKeyWrapAlgorithms
public static final Algorithm[] getDefaultSymmetricKeyWrapAlgorithms()
Gets an array of the symmetric key wrap algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultBlockEncryptionAlgorithms
public static Algorithm[] getDefaultBlockEncryptionAlgorithms()
Gets an array of the block encryption algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
getDefaultKeyTransportAlgorithms
public static Algorithm[] getDefaultKeyTransportAlgorithms()
Gets an array of the key transport algorithms that the static algorithm registry supports.- Returns:
- an array of algorithms
-
-