Class BlockEncryptionAlgorithmImpl

All Implemented Interfaces:
Algorithm, BlockEncryptionAlgorithm, EncryptionAlgorithm, JoseAlgorithm, KeyBasedAlgorithm

public class BlockEncryptionAlgorithmImpl extends AbstractEncryptionAlgorithm implements BlockEncryptionAlgorithm
Implementation class for BlockEncryptionAlgorithm.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • BlockEncryptionAlgorithmImpl

      public BlockEncryptionAlgorithmImpl(String uri, int order, String keyType, int keyLength, int ivLength, 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
      ivLength - IV length in bits
      jcaName - the JCA name
      joseAlgorithm - the JOSE algorithm (may be null)
    • BlockEncryptionAlgorithmImpl

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