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:
KeyEncryptionAlgorithm

public class PbesHmacAesWrapKeyEncryptionAlgorithm
extends Object
implements KeyEncryptionAlgorithm


Constructor Summary
PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password, int pbesCount, String keyAlgoJwt)
           
PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password, String keyAlgoJwt)
           
PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password, int pbesCount, String keyAlgoJwt)
           
PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password, String keyAlgoJwt)
           
PbesHmacAesWrapKeyEncryptionAlgorithm(String password, int pbesCount, String keyAlgoJwt)
           
PbesHmacAesWrapKeyEncryptionAlgorithm(String password, String keyAlgoJwt)
           
 
Method Summary
 String 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
 

Constructor Detail

PbesHmacAesWrapKeyEncryptionAlgorithm

public PbesHmacAesWrapKeyEncryptionAlgorithm(String password,
                                             String keyAlgoJwt)

PbesHmacAesWrapKeyEncryptionAlgorithm

public PbesHmacAesWrapKeyEncryptionAlgorithm(String password,
                                             int pbesCount,
                                             String keyAlgoJwt)

PbesHmacAesWrapKeyEncryptionAlgorithm

public PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password,
                                             String keyAlgoJwt)

PbesHmacAesWrapKeyEncryptionAlgorithm

public PbesHmacAesWrapKeyEncryptionAlgorithm(char[] password,
                                             int pbesCount,
                                             String keyAlgoJwt)

PbesHmacAesWrapKeyEncryptionAlgorithm

public PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password,
                                             String keyAlgoJwt)

PbesHmacAesWrapKeyEncryptionAlgorithm

public PbesHmacAesWrapKeyEncryptionAlgorithm(byte[] password,
                                             int pbesCount,
                                             String keyAlgoJwt)
Method Detail

getEncryptedContentEncryptionKey

public byte[] getEncryptedContentEncryptionKey(JweHeaders headers,
                                               byte[] cek)
Specified by:
getEncryptedContentEncryptionKey in interface KeyEncryptionAlgorithm

getAlgorithm

public String getAlgorithm()
Specified by:
getAlgorithm in interface KeyEncryptionAlgorithm


Apache CXF