Package org.jose4j.jwe
Class ContentEncryptionKeyDescriptor
java.lang.Object
org.jose4j.jwe.ContentEncryptionKeyDescriptor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionContentEncryptionKeyDescriptor(int contentEncryptionKeyByteLength, String contentEncryptionKeyAlgorithm) -
Method Summary
Modifier and TypeMethodDescriptionintGets the key size in bytes.
-
Field Details
-
contentEncryptionKeyByteLength
private final int contentEncryptionKeyByteLength -
contentEncryptionKeyAlgorithm
-
-
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
-