public class TrustChain extends Object
Modifier and Type | Field and Description |
---|---|
private Set |
trustMaterial |
private KeyStore |
unifiedKeyStore |
private SortedSet |
x509Certificates |
Constructor and Description |
---|
TrustChain() |
Modifier and Type | Method and Description |
---|---|
void |
addTrustMaterial(TrustChain tc) |
boolean |
contains(TrustChain tc) |
boolean |
contains(X509Certificate cert) |
protected boolean |
containsTrustAll() |
SortedSet |
getCertificates() |
int |
getSize() |
Object |
getTrustManagerFactory() |
Object[] |
getTrustManagers() |
KeyStore |
getUnifiedKeyStore() |
boolean |
isEmpty() |
private final Set trustMaterial
private SortedSet x509Certificates
private KeyStore unifiedKeyStore
public TrustChain()
public KeyStore getUnifiedKeyStore() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
public void addTrustMaterial(TrustChain tc)
public boolean contains(TrustChain tc)
public boolean contains(X509Certificate cert) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
public Object getTrustManagerFactory() throws NoSuchAlgorithmException, KeyStoreException, IOException, CertificateException
public Object[] getTrustManagers() throws NoSuchAlgorithmException, KeyStoreException, IOException, CertificateException
NoSuchAlgorithmException
- serious problemsKeyStoreException
- serious problemsIOException
- serious problemsCertificateException
- serious problemspublic SortedSet getCertificates() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
KeyStoreException
- serious problemsIOException
- serious problemsNoSuchAlgorithmException
- serious problemsCertificateException
- serious problemspublic int getSize() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
KeyStoreException
IOException
NoSuchAlgorithmException
CertificateException
public boolean isEmpty() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
KeyStoreException
IOException
NoSuchAlgorithmException
CertificateException
protected boolean containsTrustAll()