public static interface TlsValidationContext.Builder extends SdkPojo, CopyableBuilder<TlsValidationContext.Builder,TlsValidationContext>
| Modifier and Type | Method and Description |
|---|---|
default TlsValidationContext.Builder |
subjectAlternativeNames(Consumer<SubjectAlternativeNames.Builder> subjectAlternativeNames)
A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.
|
TlsValidationContext.Builder |
subjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.
|
default TlsValidationContext.Builder |
trust(Consumer<TlsValidationContextTrust.Builder> trust)
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS)
certificate.
|
TlsValidationContext.Builder |
trust(TlsValidationContextTrust trust)
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS)
certificate.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTlsValidationContext.Builder subjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.
subjectAlternativeNames - A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation
context.default TlsValidationContext.Builder subjectAlternativeNames(Consumer<SubjectAlternativeNames.Builder> subjectAlternativeNames)
A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.
This is a convenience that creates an instance of theSubjectAlternativeNames.Builder avoiding the
need to create one manually via SubjectAlternativeNames.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to subjectAlternativeNames(SubjectAlternativeNames).subjectAlternativeNames - a consumer that will call methods on SubjectAlternativeNames.BuildersubjectAlternativeNames(SubjectAlternativeNames)TlsValidationContext.Builder trust(TlsValidationContextTrust trust)
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
trust - A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security
(TLS) certificate.default TlsValidationContext.Builder trust(Consumer<TlsValidationContextTrust.Builder> trust)
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
This is a convenience that creates an instance of theTlsValidationContextTrust.Builder avoiding the
need to create one manually via TlsValidationContextTrust.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to trust(TlsValidationContextTrust).trust - a consumer that will call methods on TlsValidationContextTrust.Buildertrust(TlsValidationContextTrust)Copyright © 2021. All rights reserved.