org.apache.cxf.rs.security.jose.jwe
Class EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
      extended by org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
          extended by org.apache.cxf.rs.security.jose.jwe.AesGcmContentEncryptionAlgorithm
              extended by org.apache.cxf.rs.security.jose.jwe.EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm
All Implemented Interfaces:
ContentEncryptionCipherProperties, ContentEncryptionProvider
Enclosing class:
EcdhDirectKeyJweEncryption

protected static class EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm
extends AesGcmContentEncryptionAlgorithm


Field Summary
 
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
LOG
 
Constructor Summary
EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, String apuString, String apvString, ContentAlgorithm ctAlgo)
           
 
Method Summary
 byte[] getContentEncryptionKey(JweHeaders headers)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AesGcmContentEncryptionAlgorithm
getIvSize
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
getInitVector
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec, getAuthTagLen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.rs.security.jose.jwe.ContentEncryptionCipherProperties
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec
 

Constructor Detail

EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm

public EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm(ECPublicKey peerPublicKey,
                                                                       String curve,
                                                                       String apuString,
                                                                       String apvString,
                                                                       ContentAlgorithm ctAlgo)
Method Detail

getContentEncryptionKey

public byte[] getContentEncryptionKey(JweHeaders headers)
Specified by:
getContentEncryptionKey in interface ContentEncryptionProvider
Overrides:
getContentEncryptionKey in class AbstractContentEncryptionAlgorithm


Apache CXF