org.nhindirect.config.manager
Class CertCommands
java.lang.Object
org.nhindirect.config.manager.CertCommands
public class CertCommands
- extends Object
|
Constructor Summary |
CertCommands(org.nhind.config.ConfigurationServiceProxy proxy)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
protected org.nhind.config.ConfigurationServiceProxy proxy
certPrinter
protected RecordPrinter<org.nhind.config.Certificate> certPrinter
CertCommands
public CertCommands(org.nhind.config.ConfigurationServiceProxy proxy)
listCerts
public void listCerts(String[] args)
listCertsByAddress
public void listCertsByAddress(String[] args)
exportCertByAddress
public void exportCertByAddress(String[] args)
importPublicCert
public void importPublicCert(String[] args)
importPrivateCert
public void importPrivateCert(String[] args)
addIPKIXCert
public void addIPKIXCert(String[] args)
removeCert
public void removeCert(String[] args)
setRecordPrinter
public void setRecordPrinter(RecordPrinter<org.nhind.config.Certificate> printer)
setConfigurationProxy
public void setConfigurationProxy(org.nhind.config.ConfigurationServiceProxy proxy)
writeCertsToFiles
protected void writeCertsToFiles(org.nhind.config.Certificate[] certs)
throws IOException
- Throws:
IOException
x509CertificateToBytes
public static byte[] x509CertificateToBytes(X509Certificate cert)
Copyright © 2015. All Rights Reserved.