Class EcdhAesWrapKeyEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.EcdhAesWrapKeyEncryptionAlgorithm
- All Implemented Interfaces:
KeyEncryptionProvider
-
Constructor Summary
ConstructorsConstructorDescriptionEcdhAesWrapKeyEncryptionAlgorithm(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
Modifier and TypeMethodDescriptionbyte[]getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
-
Constructor Details
-
EcdhAesWrapKeyEncryptionAlgorithm
-
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 Details
-
getEncryptedContentEncryptionKey
- Specified by:
getEncryptedContentEncryptionKeyin interfaceKeyEncryptionProvider
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKeyEncryptionProvider
-