public class OpenAS2KeyStore extends Object implements ICertificateStore
| Constructor and Description |
|---|
OpenAS2KeyStore(KeyStore aKeyStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCertificates() |
String |
getAlias(Certificate aCert) |
com.helger.commons.collection.impl.ICommonsList<String> |
getAliases() |
Certificate |
getCertificate(String sAlias) |
Key |
getKey(String sAlias,
char[] aPassword) |
KeyStore |
getKeyStore() |
void |
removeCertificate(String sAlias) |
void |
setCertificate(String sAlias,
Certificate aCert) |
void |
setKey(String sAlias,
Key aKey,
char[] aPassword) |
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> getAliases() throws CertificateException
getAliases in interface ICertificateStoreCertificateException@Nullable public Certificate getCertificate(@Nullable String sAlias) throws CertificateException
getCertificate in interface ICertificateStoreCertificateExceptionpublic void setCertificate(@Nonnull String sAlias, @Nonnull Certificate aCert) throws CertificateException
setCertificate in interface ICertificateStoreCertificateException@Nullable public String getAlias(@Nullable Certificate aCert) throws CertificateException
getAlias in interface ICertificateStoreCertificateExceptionpublic void removeCertificate(@Nullable String sAlias) throws CertificateException
removeCertificate in interface ICertificateStoreCertificateExceptionpublic void clearCertificates()
throws CertificateException
clearCertificates in interface ICertificateStoreCertificateException@Nullable public Key getKey(@Nullable String sAlias, @Nullable char[] aPassword) throws CertificateException
getKey in interface ICertificateStoreCertificateExceptionpublic void setKey(@Nonnull String sAlias, @Nonnull Key aKey, @Nullable char[] aPassword) throws CertificateException
setKey in interface ICertificateStoreCertificateExceptionCopyright © 2013–2019 Philip Helger. All rights reserved.