Modifier and Type |
Method and Description |
protected SecretKey |
createCekSecretKey(AbstractJweEncryption.JweEncryptionInternal state) |
String |
encrypt(byte[] content,
JweHeaders jweHeaders)
JWE compact encryption
|
protected byte[] |
encryptInternal(AbstractJweEncryption.JweEncryptionInternal state,
byte[] content) |
protected byte[] |
getAAD(String protectedHeaders,
byte[] aad) |
protected byte[] |
getActualCek(byte[] theCek,
String algoJwt) |
protected byte[] |
getActualCipher(byte[] cipher) |
protected AlgorithmParameterSpec |
getAlgorithmParameterSpec(byte[] theIv) |
protected byte[] |
getAuthenticationTag(AbstractJweEncryption.JweEncryptionInternal state,
byte[] cipher) |
protected AuthenticationTagProducer |
getAuthenticationTagProducer(AbstractJweEncryption.JweEncryptionInternal state) |
ContentAlgorithm |
getContentAlgorithm() |
protected String |
getContentEncryptionAlgoJava() |
protected String |
getContentEncryptionAlgoJwt() |
protected ContentEncryptionProvider |
getContentEncryptionAlgorithm() |
protected byte[] |
getContentEncryptionKey(JweHeaders headers) |
protected byte[] |
getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek) |
JweEncryptionOutput |
getEncryptionOutput(JweEncryptionInput jweInput)
Prepare JWE state for completing either
JWE compact or JSON encryption
|
protected JsonMapObjectReaderWriter |
getJwtHeadersWriter() |
KeyAlgorithm |
getKeyAlgorithm() |
protected KeyEncryptionProvider |
getKeyEncryptionAlgo() |