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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.JweUtils

public final class JweUtils
extends Object


Method Summary
static SecretKey getContentDecryptionSecretKey(JsonWebKey jwk)
           
static SecretKey getContentDecryptionSecretKey(JsonWebKey jwk, String defaultAlgorithm)
           
static ContentEncryptionAlgorithm getContentEncryptionAlgorithm(JsonWebKey jwk)
           
static ContentEncryptionAlgorithm getContentEncryptionAlgorithm(JsonWebKey jwk, String defaultAlgorithm)
           
static KeyDecryptionAlgorithm getKeyDecryptionAlgorithm(JsonWebKey jwk)
           
static KeyDecryptionAlgorithm getKeyDecryptionAlgorithm(JsonWebKey jwk, String defaultAlgorithm)
           
static KeyEncryptionAlgorithm getKeyEncryptionAlgorithm(JsonWebKey jwk)
           
static KeyEncryptionAlgorithm getKeyEncryptionAlgorithm(JsonWebKey jwk, String defaultAlgorithm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKeyEncryptionAlgorithm

public static KeyEncryptionAlgorithm getKeyEncryptionAlgorithm(JsonWebKey jwk)

getKeyEncryptionAlgorithm

public static KeyEncryptionAlgorithm getKeyEncryptionAlgorithm(JsonWebKey jwk,
                                                               String defaultAlgorithm)

getKeyDecryptionAlgorithm

public static KeyDecryptionAlgorithm getKeyDecryptionAlgorithm(JsonWebKey jwk)

getKeyDecryptionAlgorithm

public static KeyDecryptionAlgorithm getKeyDecryptionAlgorithm(JsonWebKey jwk,
                                                               String defaultAlgorithm)

getContentEncryptionAlgorithm

public static ContentEncryptionAlgorithm getContentEncryptionAlgorithm(JsonWebKey jwk)

getContentEncryptionAlgorithm

public static ContentEncryptionAlgorithm getContentEncryptionAlgorithm(JsonWebKey jwk,
                                                                       String defaultAlgorithm)

getContentDecryptionSecretKey

public static SecretKey getContentDecryptionSecretKey(JsonWebKey jwk)

getContentDecryptionSecretKey

public static SecretKey getContentDecryptionSecretKey(JsonWebKey jwk,
                                                      String defaultAlgorithm)


Apache CXF