Class GrpcSslConfiguration


  • @ConfigurationProperties("grpc.server.ssl")
    public class GrpcSslConfiguration
    extends java.lang.Object
    Configuration for the SSL properties of GRPC.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getCertChain()  
      java.util.Optional<java.lang.String> getPrivateKey()  
      void setCertChain​(java.lang.String certChain)  
      void setPrivateKey​(java.lang.String privateKey)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GrpcSslConfiguration

        public GrpcSslConfiguration()
    • Method Detail

      • getCertChain

        public java.util.Optional<java.lang.String> getCertChain()
        Returns:
        The cert chain
      • setCertChain

        public void setCertChain​(@Nullable
                                 java.lang.String certChain)
        Parameters:
        certChain - Sets the cert chain
      • getPrivateKey

        public java.util.Optional<java.lang.String> getPrivateKey()
        Returns:
        The private key
      • setPrivateKey

        public void setPrivateKey​(@Nullable
                                  java.lang.String privateKey)
        Parameters:
        privateKey - Sets the private key