com.nimbusds.jose
Interface JWEAlgorithmProvider

All Known Subinterfaces:
JWEDecrypter, JWEEncrypter

public interface JWEAlgorithmProvider

Common interface for JSON Web Encryption (JWE) encrypters and decrypters.

Callers can query the JWS provider to determine its algorithm capabilities.

Version:
$version$ (2012-10-16)
Author:
Vladimir Dzhuvinov

Method Summary
 Set<JWEAlgorithm> supportedAlgorithms()
          Returns the names of the supported JWE algorithms.
 Set<EncryptionMethod> supportedEncryptionMethods()
          Returns the names of the supported encryption methods.
 

Method Detail

supportedAlgorithms

Set<JWEAlgorithm> supportedAlgorithms()
Returns the names of the supported JWE algorithms. These correspond to the alg JWE header parameter.

Returns:
The supported JWE algorithms, empty set if none.

supportedEncryptionMethods

Set<EncryptionMethod> supportedEncryptionMethods()
Returns the names of the supported encryption methods. These correspond to the enc JWE header parameter.

Returns:
The supported encryption methods, empty set if none.


Copyright © 2013 NimbusDS. All Rights Reserved.