org.apache.cxf.rs.security.oauth2.jwe
Class RSAJweEncryption

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.jwe.AbstractJweEncryption
      extended by org.apache.cxf.rs.security.oauth2.jwe.WrappedKeyJweEncryption
          extended by org.apache.cxf.rs.security.oauth2.jwe.RSAJweEncryption
All Implemented Interfaces:
JweEncryptionProvider

public class RSAJweEncryption
extends WrappedKeyJweEncryption


Field Summary
 
Fields inherited from class org.apache.cxf.rs.security.oauth2.jwe.AbstractJweEncryption
DEFAULT_AUTH_TAG_LENGTH, DEFAULT_IV_SIZE
 
Constructor Summary
RSAJweEncryption(RSAPublicKey publicKey, JweHeaders headers, byte[] cek, byte[] iv)
           
RSAJweEncryption(RSAPublicKey publicKey, JweHeaders headers, byte[] cek, byte[] iv, int authTagLen, boolean wrap)
           
RSAJweEncryption(RSAPublicKey publicKey, JweHeaders headers, byte[] cek, byte[] iv, int authTagLen, boolean wrap, JwtHeadersWriter writer)
           
RSAJweEncryption(RSAPublicKey publicKey, JweHeaders headers, byte[] cek, byte[] iv, JwtHeadersWriter writer)
           
RSAJweEncryption(RSAPublicKey publicKey, SecretKey secretKey, byte[] iv)
           
RSAJweEncryption(RSAPublicKey publicKey, SecretKey secretKey, String secretKeyJwtAlgorithm, byte[] iv)
           
RSAJweEncryption(RSAPublicKey publicKey, String contentEncryptionAlgo)
           
 
Method Summary
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.jwe.WrappedKeyJweEncryption
getContentEncryptionKey, getContentEncryptionKeyEncryptionAlgo, getEncryptedContentEncryptionKey
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.jwe.AbstractJweEncryption
createJweEncryption, encrypt, getAuthTagLen, getContentEncryptionAlgoJava, getContentEncryptionAlgoJwt, getContentEncryptionCipherInitVector, getContentEncryptionCipherSpec, getJweHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAJweEncryption

public RSAJweEncryption(RSAPublicKey publicKey,
                        String contentEncryptionAlgo)

RSAJweEncryption

public RSAJweEncryption(RSAPublicKey publicKey,
                        JweHeaders headers,
                        byte[] cek,
                        byte[] iv)

RSAJweEncryption

public RSAJweEncryption(RSAPublicKey publicKey,
                        SecretKey secretKey,
                        String secretKeyJwtAlgorithm,
                        byte[] iv)

RSAJweEncryption

public RSAJweEncryption(RSAPublicKey publicKey,
                        SecretKey secretKey,
                        byte[] iv)

RSAJweEncryption

public RSAJweEncryption(RSAPublicKey publicKey,
                        JweHeaders headers,
                        byte[] cek,
                        byte[] iv,
                        int authTagLen,
                        boolean wrap)

RSAJweEncryption

public RSAJweEncryption(RSAPublicKey publicKey,
                        JweHeaders headers,
                        byte[] cek,
                        byte[] iv,
                        JwtHeadersWriter writer)

RSAJweEncryption

public RSAJweEncryption(RSAPublicKey publicKey,
                        JweHeaders headers,
                        byte[] cek,
                        byte[] iv,
                        int authTagLen,
                        boolean wrap,
                        JwtHeadersWriter writer)


Apache CXF