public class TrustStore extends CertificateStore
configuration, PROVIDER, store
Constructor and Description |
---|
TrustStore(CertificateStoreConfiguration configuration,
boolean createIfAbsent) |
Modifier and Type | Method and Description |
---|---|
void |
installCertificate(String alias,
String pemRepresentation)
Imports one certificate as a trust anchor into this store.
|
delete, getAllCertificates, getConfiguration, getStore, persist, reload
public TrustStore(CertificateStoreConfiguration configuration, boolean createIfAbsent) throws CertificateStoreConfigException
CertificateStoreConfigException
public void installCertificate(String alias, String pemRepresentation) throws CertificateStoreConfigException
alias
- the name (key) under which the certificate is to be stored in the store (cannot be null or empty).pemRepresentation
- The PEM representation of the certificate to add (cannot be null or empty).CertificateStoreConfigException
Copyright © 2003-2008 Jive Software.