Class EcdhAesWrapKeyEncryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.EcdhAesWrapKeyEncryptionAlgorithm
-
- All Implemented Interfaces:
KeyEncryptionProvider
public class EcdhAesWrapKeyEncryptionAlgorithm extends Object implements KeyEncryptionProvider
-
-
Constructor Summary
Constructors Constructor Description EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, String apuString, String apvString, KeyAlgorithm keyAlgo, ContentAlgorithm ctAlgo)EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, KeyAlgorithm keyAlgo)EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, KeyAlgorithm keyAlgo, ContentAlgorithm ctAlgo)EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, KeyAlgorithm keyAlgo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyAlgorithmgetAlgorithm()byte[]getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
-
-
-
Constructor Detail
-
EcdhAesWrapKeyEncryptionAlgorithm
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, KeyAlgorithm keyAlgo)
-
EcdhAesWrapKeyEncryptionAlgorithm
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, KeyAlgorithm keyAlgo)
-
EcdhAesWrapKeyEncryptionAlgorithm
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, KeyAlgorithm keyAlgo, ContentAlgorithm ctAlgo)
-
EcdhAesWrapKeyEncryptionAlgorithm
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, String apuString, String apvString, KeyAlgorithm keyAlgo, ContentAlgorithm ctAlgo)
-
-
Method Detail
-
getEncryptedContentEncryptionKey
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
- Specified by:
getEncryptedContentEncryptionKeyin interfaceKeyEncryptionProvider
-
getAlgorithm
public KeyAlgorithm getAlgorithm()
- Specified by:
getAlgorithmin interfaceKeyEncryptionProvider
-
-