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

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

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

origin: io.servicecomb/foundation-ssl

KeyStore keyStore =
  KeyStoreUtil.createKeyStore(keyStoreName,
    option.getKeyStoreType(),
    keyStoreValue);
keymanager =
origin: io.servicecomb/foundation-vertx

httpClientOptions.setSsl(true);
if (isFileExists(sslCustom.getFullPath(sslOption.getKeyStore()))) {
 if (STORE_PKCS12.equalsIgnoreCase(sslOption.getKeyStoreType())) {
  PfxOptions keyPfxOptions = new PfxOptions();
  keyPfxOptions.setPath(sslCustom.getFullPath(sslOption.getKeyStore()));
  keyPfxOptions.setPassword(new String(sslCustom.decode(sslOption.getKeyStoreValue().toCharArray())));
  httpClientOptions.setPfxKeyCertOptions(keyPfxOptions);
 } else if (STORE_JKS.equalsIgnoreCase(sslOption.getKeyStoreType())) {
  JksOptions keyJksOptions = new JksOptions();
  keyJksOptions.setPath(sslCustom.getFullPath(sslOption.getKeyStore()));
origin: io.servicecomb/foundation-ssl

option.keyStoreType =
  getStringProperty(configSource,
    DEFAULT_OPTION.getKeyStoreType(),
    "ssl." + tag + ".keyStoreType",
    "ssl.keyStoreType");
io.servicecomb.foundation.sslSSLOptiongetKeyStoreType

Popular methods of SSLOption

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

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • setContentView (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • String (java.lang)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Github Copilot alternatives
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