Class SymmetricKeyWrapImpl

All Implemented Interfaces:
Algorithm, EncryptionAlgorithm, JoseAlgorithm, KeyBasedAlgorithm

public class SymmetricKeyWrapImpl extends AbstractEncryptionAlgorithm
Implementation class for symmetric key wrap algorithms.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • SymmetricKeyWrapImpl

      public SymmetricKeyWrapImpl(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)
    • SymmetricKeyWrapImpl

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