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 the AlgorithmRegistry with fixed defaults.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • StaticAlgorithmRegistry

      public StaticAlgorithmRegistry()
      Default constructor.
  • Method Details

    • 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 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