java.lang.Object
io.helidon.grpc.core.GrpcTlsDescriptor
GrpcTlsDescriptor contains details about configuring TLS of a 
Channel.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder to build a new instance ofGrpcTlsDescriptor. - 
Method Summary
Modifier and TypeMethodDescriptionstatic GrpcTlsDescriptor.Builderbuilder()Return a new instance ofGrpcTlsDescriptor.Builder.static GrpcTlsDescriptor.BuilderReturn an instance of builder based on the specified external config.static GrpcTlsDescriptorCreate an instance of a TLS configuration from external configuration source.booleanCheck if TLS is enabled.booleanisJdkSSL()Check if JDK SSL has be used.Get the CA (certificate authority) certificate path.tlsCert()Get the tlsCert path.tlsKey()Get the client private key path. 
- 
Method Details
- 
builder
Return a new instance ofGrpcTlsDescriptor.Builder.- Returns:
 - a new instance of 
GrpcTlsDescriptor.Builder 
 - 
builder
Return an instance of builder based on the specified external config.- Parameters:
 config- external config- Returns:
 - an instance of builder
 
 - 
create
Create an instance of a TLS configuration from external configuration source.- Parameters:
 config- external config- Returns:
 - an instance of a TLS configuration
 
 - 
isEnabled
public boolean isEnabled()Check if TLS is enabled. If this is false, then none of the other configuration values are used.- Returns:
 - true if TLS is enabled; false otherwise
 
 - 
isJdkSSL
public boolean isJdkSSL()Check if JDK SSL has be used. Only used for TLS enabled server channels.A Ignored by client channel.- Returns:
 - true if JDK ssl has to be used; false otherwise
 
 - 
tlsCert
Get the tlsCert path. Can be either client or server cert.- Returns:
 - the path to tls certificate
 
 - 
tlsKey
Get the client private key path. Can be either client or server private key.- Returns:
 - the path to tls private key
 
 - 
tlsCaCert
Get the CA (certificate authority) certificate path.- Returns:
 - the path to CA certificate
 
 
 -