Class PbesHmacAesWrapKeyEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.PbesHmacAesWrapKeyEncryptionAlgorithm
- All Implemented Interfaces:
KeyEncryptionProvider
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords) PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password, KeyAlgorithm keyAlgoJwt) PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords) PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password, KeyAlgorithm keyAlgoJwt) PbesHmacAesWrapKeyEncryptionAlgorithm(String password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords) PbesHmacAesWrapKeyEncryptionAlgorithm(String password, KeyAlgorithm keyAlgoJwt) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
-
Field Details
-
LOG
-
-
Constructor Details
-
PbesHmacAesWrapKeyEncryptionAlgorithm
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(String password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords) -
PbesHmacAesWrapKeyEncryptionAlgorithm
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords) -
PbesHmacAesWrapKeyEncryptionAlgorithm
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords)
-
-
Method Details
-
getEncryptedContentEncryptionKey
- Specified by:
getEncryptedContentEncryptionKeyin interfaceKeyEncryptionProvider
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKeyEncryptionProvider
-