Class AesGcmContentEncryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
-
- org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
-
- org.apache.cxf.rs.security.jose.jwe.AesGcmContentEncryptionAlgorithm
-
- All Implemented Interfaces:
ContentEncryptionCipherProperties,ContentEncryptionProvider
- Direct Known Subclasses:
EcdhAesGcmContentEncryptionAlgorithm
public class AesGcmContentEncryptionAlgorithm extends AbstractContentEncryptionAlgorithm
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
LOG
-
-
Constructor Summary
Constructors Constructor Description AesGcmContentEncryptionAlgorithm(byte[] cek, byte[] iv, ContentAlgorithm algo)AesGcmContentEncryptionAlgorithm(byte[] cek, ContentAlgorithm algo)AesGcmContentEncryptionAlgorithm(String encodedCek, String encodedIv, ContentAlgorithm algo)AesGcmContentEncryptionAlgorithm(String encodedCek, ContentAlgorithm algo)AesGcmContentEncryptionAlgorithm(SecretKey key, byte[] iv, ContentAlgorithm algo)AesGcmContentEncryptionAlgorithm(SecretKey key, ContentAlgorithm algo)AesGcmContentEncryptionAlgorithm(ContentAlgorithm algo)AesGcmContentEncryptionAlgorithm(ContentAlgorithm algo, boolean generateCekOnce)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetIvSize()-
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
getContentEncryptionKey, getContentEncryptionKeySize, 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
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(ContentAlgorithm algo)
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(ContentAlgorithm algo, boolean generateCekOnce)
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(String encodedCek, String encodedIv, ContentAlgorithm algo)
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(String encodedCek, ContentAlgorithm algo)
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(SecretKey key, ContentAlgorithm algo)
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(SecretKey key, byte[] iv, ContentAlgorithm algo)
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(byte[] cek, ContentAlgorithm algo)
-
AesGcmContentEncryptionAlgorithm
public AesGcmContentEncryptionAlgorithm(byte[] cek, byte[] iv, ContentAlgorithm algo)
-
-
Method Detail
-
getIvSize
protected int getIvSize()
- Overrides:
getIvSizein classAbstractContentEncryptionAlgorithm
-
-