Interface JWEBuilder<A,B extends JWEHeaderConfigurator<B>,C extends JWEBuilder<A,B,C>>

Type Parameters:
A - the payload type
B - the JWE JOSE header configurator type
C - 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 Details

    • secureRandom

      C secureRandom(SecureRandom secureRandom)

      Specifies the secure random to use when encrypting the payload.

      Parameters:
      secureRandom - a secure random
      Returns:
      this builder