Tabnine Logo
SSLOption.isCheckCNHost
Code IndexAdd Tabnine to your IDE (free)

How to use
isCheckCNHost
method
in
io.servicecomb.foundation.ssl.SSLOption

Best Java code snippets using io.servicecomb.foundation.ssl.SSLOption.isCheckCNHost (Showing top 3 results out of 315)

origin: io.servicecomb/foundation-vertx

public static HttpClientOptions buildHttpClientOptions(SSLOption sslOption, SSLCustom sslCustom,
  HttpClientOptions httpClientOptions) {
 buildClientOptionsBase(sslOption, sslCustom, httpClientOptions);
 httpClientOptions.setVerifyHost(sslOption.isCheckCNHost());
 return httpClientOptions;
}
origin: io.servicecomb/foundation-ssl

private void checkCNHost(X509Certificate[] chain, String ip) throws CertificateException {
 if (option.isCheckCNHost()) {
  X509Certificate owner = CertificateUtil.findOwner(chain);
  Set<String> cns = CertificateUtil.getCN(owner);
origin: io.servicecomb/foundation-ssl

option.checkCNHost =
  getBooleanProperty(configSource,
    DEFAULT_OPTION.isCheckCNHost(),
    "ssl." + tag + ".checkCN.host",
    "ssl.checkCN.host");
io.servicecomb.foundation.sslSSLOptionisCheckCNHost

Popular methods of SSLOption

  • buildFromYaml
  • getSslCustomClass
  • getCiphers
  • getCrl
  • getKeyStore
  • getKeyStoreType
  • getKeyStoreValue
  • getProtocols
  • getTrustStore
  • getTrustStoreType
  • getTrustStoreValue
  • isAuthPeer
  • getTrustStoreValue,
  • isAuthPeer,
  • <init>,
  • fromProperty,
  • getBooleanProperty,
  • getCheckCNWhiteFile,
  • getStorePath,
  • getStringProperty,
  • ignore

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JFileChooser (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now