org.apache.cxf.rs.security.jose.jwe
Class PbesHmacAesWrapKeyEncryptionAlgorithm

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.PbesHmacAesWrapKeyEncryptionAlgorithm
All Implemented Interfaces:
KeyEncryptionProvider

public class PbesHmacAesWrapKeyEncryptionAlgorithm
extends Object
implements KeyEncryptionProvider


Field Summary
protected static Logger LOG
           
 
Constructor Summary
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
 KeyAlgorithm getAlgorithm()
           
 byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
getEncryptedContentEncryptionKey in interface KeyEncryptionProvider

getAlgorithm

public KeyAlgorithm getAlgorithm()
Specified by:
getAlgorithm in interface KeyEncryptionProvider


Apache CXF