Package org.eclipse.jetty.util.ssl
Class X509
- java.lang.Object
-
- org.eclipse.jetty.util.ssl.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()
-
-
-
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 classjava.lang.Object
-
-