Class SpiffeSslContextFactory.SslContextOptions
java.lang.Object
io.spiffe.provider.SpiffeSslContextFactory.SslContextOptions
- Enclosing class:
SpiffeSslContextFactory
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionSslContextOptions(String sslProtocol, io.spiffe.workloadapi.X509Source x509Source, Supplier<Set<io.spiffe.spiffeid.SpiffeId>> acceptedSpiffeIdsSupplier, boolean acceptAnySpiffeId) -
Method Summary
-
Constructor Details
-
SslContextOptions
-
-
Method Details
-
builder
-