Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
org.metastatic.jessie

Class StaticTrustAnchors

java.lang.Object
|
+--org.metastatic.jessie.StaticTrustAnchors

All Implemented Interfaces:

ManagerFactoryParameters


public class StaticTrustAnchors

extends java.lang.Object

implements 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.

Field Summary

static org.metastatic.jessie.StaticTrustAnchorsCA_CERTS

A list of known certificate authority certificates.

Constructor Summary

StaticTrustAnchors(X509Certificate[] certs)

Method Summary

static X509Certificategenerate(CertificateFactory factory, String encoded)

X509Certificate[]getCertificates()

Field Details

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.


Constructor Details

StaticTrustAnchors

public StaticTrustAnchors(X509Certificate[] certs)

Parameters:


Method Details

generate

public static X509Certificate generate(CertificateFactory factory, String encoded)

Parameters:


getCertificates

public X509Certificate[] getCertificates()