public class AsadminTruststore extends Object
This class delegates the work of actually opening the trust store to AsadminSecurityUtil.
| Modifier and Type | Method and Description |
|---|---|
void |
addCertificate(String alias,
Certificate cert) |
boolean |
certificateExists(Certificate cert) |
static File |
getAsadminTruststore() |
static AsadminTruststore |
newInstance() |
static AsadminTruststore |
newInstance(char[] password) |
void |
writeStore() |
public static File getAsadminTruststore()
public static AsadminTruststore newInstance()
public static AsadminTruststore newInstance(char[] password)
public boolean certificateExists(Certificate cert) throws KeyStoreException
KeyStoreExceptionpublic void addCertificate(String alias, Certificate cert) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
public void writeStore()
throws KeyStoreException,
IOException,
NoSuchAlgorithmException,
CertificateException
Copyright © 2021. All rights reserved.