Package org.jose4j.jwe
Class ContentEncryptionKeyDescriptor
java.lang.Object
org.jose4j.jwe.ContentEncryptionKeyDescriptor
-
Constructor Summary
ConstructorDescriptionContentEncryptionKeyDescriptor
(int contentEncryptionKeyByteLength, String contentEncryptionKeyAlgorithm) -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the key size in bytes.
-
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
-