Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jwe
Interface JWEBuilder<A,B extends JWEHeaderConfigurator<B>,C extends JWEBuilder<A,B,C>>
- Type Parameters:
A
- the payload typeB
- the JWE JOSE header configurator typeC
- the JWE builder type
- All Superinterfaces:
JOSEObjectBuilder<A,
JWEHeader, JWE<A>, B, C>
public interface JWEBuilder<A,B extends JWEHeaderConfigurator<B>,C extends JWEBuilder<A,B,C>>
extends JOSEObjectBuilder<A,JWEHeader,JWE<A>,B,C>
A JSON Web Encryption builder is used to build single JSON Web Encryption objects.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionsecureRandom
(SecureRandom secureRandom) Specifies the secure random to use when encrypting the payload.
-
Method Details
-
secureRandom
Specifies the secure random to use when encrypting the payload.
- Parameters:
secureRandom
- a secure random- Returns:
- this builder
-