Class SpiffeSslContextFactory.SslContextOptions

java.lang.Object
io.spiffe.provider.SpiffeSslContextFactory.SslContextOptions
Enclosing class:
SpiffeSslContextFactory

public static class SpiffeSslContextFactory.SslContextOptions extends Object
Options for creating a new SSLContext.

sslProtocol The SSL Protocol. Default: TLSv1.2

x509Source An DefaultX509Source that provides the X.509 materials.

acceptedSpiffeIdsSupplier A supplier of a set of SpiffeId that will be accepted for a secure socket connection.

acceptAnySpiffeId Flag that indicates that any SpiffeId will be accepted for a secure socket connection. This config overrules the acceptedSpiffeIdsSupplier property.