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

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

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

origin: io.servicecomb/foundation-ssl

private void checkCRL(X509Certificate[] chain) throws CertificateException {
 String crl = option.getCrl();
 crl = custom.getFullPath(crl);
 File file = new File(crl);
 if (!file.exists()) {
  return;
 }
 CRL[] crls = KeyStoreUtil.createCRL(crl);
 X509Certificate owner = CertificateUtil.findOwner(chain);
 for (CRL c : crls) {
  if (c.isRevoked(owner)) {
   LOG.error("certificate revoked");
   throw new CertificateException("certificate revoked");
  }
 }
}
origin: io.servicecomb/foundation-vertx

if (isFileExists(sslCustom.getFullPath(sslOption.getCrl()))) {
 httpClientOptions.addCrlPath(sslCustom.getFullPath(sslOption.getCrl()));
origin: io.servicecomb/foundation-ssl

  "ssl." + tag + ".keyStoreValue",
  "ssl.keyStoreValue");
option.crl = getStringProperty(configSource, DEFAULT_OPTION.getCrl(), "ssl." + tag + ".crl", "ssl.crl");
option.sslCustomClass =
  getStringProperty(configSource, null, "ssl." + tag + ".sslCustomClass", "ssl.sslCustomClass");
io.servicecomb.foundation.sslSSLOptiongetCrl

Popular methods of SSLOption

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

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JTextField (javax.swing)
  • Top plugins for Android Studio
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