Interface JWEProvider

All Superinterfaces:
JCAAware<JWEJCAContext>, JOSEProvider
All Known Subinterfaces:
JWEDecrypter, JWEDecrypterFactory, JWEEncrypter
All Known Implementing Classes:
AESCryptoProvider, AESDecrypter, AESEncrypter, BaseJWEProvider, DefaultJWEDecrypterFactory, DirectCryptoProvider, DirectDecrypter, DirectEncrypter, ECDH1PUCryptoProvider, ECDH1PUDecrypter, ECDH1PUEncrypter, ECDH1PUX25519Decrypter, ECDH1PUX25519Encrypter, ECDHCryptoProvider, ECDHDecrypter, ECDHEncrypter, MultiCryptoProvider, MultiDecrypter, MultiEncrypter, PasswordBasedCryptoProvider, PasswordBasedDecrypter, PasswordBasedEncrypter, RSACryptoProvider, RSADecrypter, RSAEncrypter, X25519Decrypter, X25519Encrypter

public interface JWEProvider extends JOSEProvider, JCAAware<JWEJCAContext>
JSON Web Encryption (JWE) provider.

The JWE provider can be queried to determine its algorithm capabilities.

Version:
2015-05-26
Author:
Vladimir Dzhuvinov
  • Method Details

    • supportedJWEAlgorithms

      Returns the names of the supported algorithms by the JWE provider instance. These correspond to the alg JWE header parameter.
      Returns:
      The supported JWE algorithms, empty set if none.
    • supportedEncryptionMethods

      Returns the names of the supported encryption methods by the JWE provier. These correspond to the enc JWE header parameter.
      Returns:
      The supported encryption methods, empty set if none.