Class PbesHmacAesWrapKeyEncryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.PbesHmacAesWrapKeyEncryptionAlgorithm
-
- All Implemented Interfaces:
KeyEncryptionProvider
public class PbesHmacAesWrapKeyEncryptionAlgorithm extends Object implements KeyEncryptionProvider
-
-
Constructor Summary
Constructors Constructor Description PbesHmacAesWrapKeyEncryptionAlgorithm(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyAlgorithmgetAlgorithm()byte[]getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
Constructor Detail
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(String password, KeyAlgorithm keyAlgoJwt)
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(String password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords)
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password, KeyAlgorithm keyAlgoJwt)
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords)
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password, KeyAlgorithm keyAlgoJwt)
-
PbesHmacAesWrapKeyEncryptionAlgorithm
public PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password, int pbesCount, KeyAlgorithm keyAlgoJwt, boolean hashLargePasswords)
-
-
Method Detail
-
getEncryptedContentEncryptionKey
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
- Specified by:
getEncryptedContentEncryptionKeyin interfaceKeyEncryptionProvider
-
getAlgorithm
public KeyAlgorithm getAlgorithm()
- Specified by:
getAlgorithmin interfaceKeyEncryptionProvider
-
-