Class ContentEncryptionKeyDescriptor

java.lang.Object
org.jose4j.jwe.ContentEncryptionKeyDescriptor

public class ContentEncryptionKeyDescriptor extends Object
  • Constructor Details

    • ContentEncryptionKeyDescriptor

      public ContentEncryptionKeyDescriptor(int contentEncryptionKeyByteLength, String contentEncryptionKeyAlgorithm)
  • Method Details

    • getContentEncryptionKeyByteLength

      public int getContentEncryptionKeyByteLength()
      Gets the key size in bytes.
      Returns:
      the length, in bytes, of the key used by this algorithm
    • getContentEncryptionKeyAlgorithm

      public String getContentEncryptionKeyAlgorithm()