org.keycloak.jose.jwe.enc

## Class AesCbcHmacShaJWEEncryptionProvider

- java.lang.Object
- - org.keycloak.jose.jwe.enc.AesCbcHmacShaEncryptionProvider
  - - org.keycloak.jose.jwe.enc.AesCbcHmacShaJWEEncryptionProvider

- All Implemented Interfaces:
    JWEEncryptionProvider

      public class AesCbcHmacShaJWEEncryptionProvider
      extends AesCbcHmacShaEncryptionProvider

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.keycloak.jose.jwe.enc.AesCbcHmacShaEncryptionProvider

      `AesCbcHmacShaEncryptionProvider.Aes128CbcHmacSha256Provider, AesCbcHmacShaEncryptionProvider.Aes192CbcHmacSha384Provider, AesCbcHmacShaEncryptionProvider.Aes256CbcHmacSha512Provider`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AesCbcHmacShaJWEEncryptionProvider(String jwaAlgorithmName)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected int` | `getAuthenticationTagLength()`
    `protected int` | `getExpectedAesKeyLength()`
    `int` | `getExpectedCEKLength()`
    `protected String` | `getHmacShaAlgorithm()`

    - ### Methods inherited from class org.keycloak.jose.jwe.enc.AesCbcHmacShaEncryptionProvider

      `deserializeCEK, encodeJwe, serializeCEK, verifyAndDecodeJwe`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AesCbcHmacShaJWEEncryptionProvider

          public AesCbcHmacShaJWEEncryptionProvider(String jwaAlgorithmName)

  - ### Method Detail

    - #### getExpectedCEKLength

          public int getExpectedCEKLength()

    - #### getExpectedAesKeyLength

          protected int getExpectedAesKeyLength()

      Specified by:
        `getExpectedAesKeyLength` in class `AesCbcHmacShaEncryptionProvider`

    - #### getHmacShaAlgorithm

          protected String getHmacShaAlgorithm()

      Specified by:
        `getHmacShaAlgorithm` in class `AesCbcHmacShaEncryptionProvider`

    - #### getAuthenticationTagLength

          protected int getAuthenticationTagLength()

      Specified by:
        `getAuthenticationTagLength` in class `AesCbcHmacShaEncryptionProvider`

Copyright © 2021 JBoss by Red Hat. All rights reserved.