public static interface JWE.Factory
An instance of this type can be used to produce an operator based on the header specified for a JWT.
Modifier and Type | Method and Description |
---|---|
JWE |
getOperator(JWE.Header header)
Gets an operator appropriate for use with an encrypted JWT with the
specified header claims.
|
JWE getOperator(JWE.Header header) throws JWTConfigurationException
header
- JOSE headerJWTConfigurationException
- if an unexpected error occurs in
producing an operatorCopyright © 2019. All rights reserved.