public interface JWEDecrypterFactory extends JWEProvider
Modifier and Type | Method and Description |
---|---|
JWEDecrypter |
createJWEDecrypter(JWEHeader header,
Key key)
Creates a new JWE decrypter for the specified header and key.
|
supportedEncryptionMethods, supportedJWEAlgorithms
getJCAContext
JWEDecrypter createJWEDecrypter(JWEHeader header, Key key) throws JOSEException
header
- The JWE header. Not null
.key
- The key intended to verify the JWS message. Not
null
.JOSEException
- If the JWE algorithm / encryption method is
not supported or the key type or length
doesn't match expected for the JWE algorithm.Copyright © 2016 Connect2id Ltd.. All rights reserved.