Class AbstractEncryptionAlgorithm

All Implemented Interfaces:
Algorithm, EncryptionAlgorithm, JoseAlgorithm, KeyBasedAlgorithm
Direct Known Subclasses:
BlockEncryptionAlgorithmImpl, SymmetricKeyWrapImpl

public abstract class AbstractEncryptionAlgorithm extends AbstractKeyBasedAlgorithm implements EncryptionAlgorithm
Abstract base class for encryption algorithms.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • AbstractEncryptionAlgorithm

      public AbstractEncryptionAlgorithm(String uri, int order, String keyType, int keyLength, String jcaName, com.nimbusds.jose.Algorithm joseAlgorithm)
      Constructor.
      Parameters:
      uri - the algorithm URI
      order - the ordering for the algorithm
      keyType - the key type
      keyLength - the key length in bits
      jcaName - the JCA name
      joseAlgorithm - the JOSE algorithm (may be null)
    • AbstractEncryptionAlgorithm

      protected AbstractEncryptionAlgorithm(String uri)
      Protected constructor used by builders.
      Parameters:
      uri - the algorithm URI
  • Method Details