public interface AliasedCertificateFactory extends CertificateFactory
COMPID_CERTIFICATE_FACTORY| Modifier and Type | Method and Description |
|---|---|
void |
addCertificate(String alias,
X509Certificate cert,
boolean overwrite) |
void |
addPrivateKey(String alias,
Key key,
String password) |
void |
clearCertificates() |
X509Certificate |
getCertificate(String alias) |
Map<String,X509Certificate> |
getCertificates() |
void |
removeCertificate(String alias) |
void |
removeCertificate(X509Certificate cert) |
getCertificate, getCertificate, getPrivateKey, getPrivateKeydestroy, getName, getParameters, getSession, initX509Certificate getCertificate(String alias) throws OpenAS2Exception
OpenAS2ExceptionMap<String,X509Certificate> getCertificates() throws OpenAS2Exception
OpenAS2Exceptionvoid addCertificate(String alias, X509Certificate cert, boolean overwrite) throws OpenAS2Exception
OpenAS2Exceptionvoid addPrivateKey(String alias, Key key, String password) throws OpenAS2Exception
OpenAS2Exceptionvoid clearCertificates()
throws OpenAS2Exception
OpenAS2Exceptionvoid removeCertificate(X509Certificate cert) throws OpenAS2Exception
OpenAS2Exceptionvoid removeCertificate(String alias) throws OpenAS2Exception
OpenAS2ExceptionCopyright © 2018. All rights reserved.