Interface RootService
-
- All Known Implementing Classes:
RootServiceImpl
public interface RootServiceAllows interaction with CA root-related PKI objects: certificates, keys, keystore & certificate files- Author:
- Wojciech Sulejman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRootCertificateAlias()StringgetRootKeyAlias()StringgetRootKeyPassword()KeyStoregetRootKeyStore()StringgetRootKeystoreFilePath()InputStreamgetRootKeystoreIS()StringgetRootKeystorePassword()byte[]getRootPublicCertificate()booleanisRootSetup()voidsetRootCertificateAlias(String rootCertificateAlias)voidsetRootKeyAlias(String rootKeyAlias)voidsetRootKeyPassword(String rootKeyPassword)voidsetRootKeyStore(KeyStore rootKeyStore)voidsetRootKeystoreFilePath(String rootKeystoreFilePath)voidsetRootKeystorePassword(String rootKeystorePassword)
-
-
-
Method Detail
-
getRootKeyStore
KeyStore getRootKeyStore()
-
getRootKeystoreFilePath
String getRootKeystoreFilePath()
-
getRootKeystorePassword
String getRootKeystorePassword()
-
getRootKeyAlias
String getRootKeyAlias()
-
getRootKeyPassword
String getRootKeyPassword()
-
getRootCertificateAlias
String getRootCertificateAlias()
-
isRootSetup
boolean isRootSetup()
-
getRootPublicCertificate
byte[] getRootPublicCertificate() throws CertException- Throws:
CertException
-
getRootKeystoreIS
InputStream getRootKeystoreIS() throws CertException
- Throws:
CertException
-
setRootKeyStore
void setRootKeyStore(KeyStore rootKeyStore)
-
setRootKeystoreFilePath
void setRootKeystoreFilePath(String rootKeystoreFilePath)
-
setRootKeystorePassword
void setRootKeystorePassword(String rootKeystorePassword)
-
setRootKeyAlias
void setRootKeyAlias(String rootKeyAlias)
-
setRootKeyPassword
void setRootKeyPassword(String rootKeyPassword)
-
setRootCertificateAlias
void setRootCertificateAlias(String rootCertificateAlias)
-
-