public interface JWEEncrypterMulti extends JWEProvider
JWEObjectJSON.| Modifier and Type | Method and Description |
|---|---|
JWECryptoParts |
encrypt(JWEHeader header,
byte[] clearText)
Encrypts the specified clear text of a
JWE object. |
supportedEncryptionMethods, supportedJWEAlgorithmsgetJCAContextJWECryptoParts encrypt(JWEHeader header, byte[] clearText) throws JOSEException
JWE object.header - The JSON Web Encryption (JWE) header. Must specify
a supported JWE algorithm and method. Must not be
null.clearText - The clear text to encrypt. Must not be null.JOSEException - If the JWE algorithm or method is not
supported or if encryption failed for some
other internal reason.Copyright © 2021 Connect2id Ltd.. All rights reserved.