Class X509


  • public class X509
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      X509​(java.lang.String alias, java.security.cert.X509Certificate x509)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addName​(java.lang.String cn)  
      java.lang.String getAlias()  
      java.security.cert.X509Certificate getCertificate()  
      java.util.Set<java.lang.String> getHosts()  
      java.util.Set<java.lang.String> getWilds()  
      static boolean isCertSign​(java.security.cert.X509Certificate x509)  
      boolean matches​(java.lang.String host)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • X509

        public X509​(java.lang.String alias,
                    java.security.cert.X509Certificate x509)
    • Method Detail

      • isCertSign

        public static boolean isCertSign​(java.security.cert.X509Certificate x509)
      • addName

        protected void addName​(java.lang.String cn)
      • getAlias

        public java.lang.String getAlias()
      • getCertificate

        public java.security.cert.X509Certificate getCertificate()
      • getHosts

        public java.util.Set<java.lang.String> getHosts()
      • getWilds

        public java.util.Set<java.lang.String> getWilds()
      • matches

        public boolean matches​(java.lang.String host)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object