org.metastatic.jessie
Class StaticTrustAnchors
java.lang.Object
|
+--org.metastatic.jessie.StaticTrustAnchors
All Implemented Interfaces:
ManagerFactoryParameters
This class implements a simple set of trust anchors suitable for
initializing a TrustManagerFactory for the "JessieX509" algorithm.
The important field of this class is the #CA_CERTS
constant, which contains an array of commonly accepted CA
certificates.
CA_CERTS
public static final StaticTrustAnchors CA_CERTS
A list of known certificate authority certificates. This set of
certificates is the same as the default CA certificates used by
Mozilla.
StaticTrustAnchors
public StaticTrustAnchors(X509Certificate[] certs)
Parameters:
generate
public static X509Certificate generate(CertificateFactory factory, String encoded)
Parameters:
getCertificates
public X509Certificate[] getCertificates()