Interface RootService
-
- All Known Implementing Classes:
RootServiceImpl
public interface RootService
Allows 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 String
getRootCertificateAlias()
String
getRootKeyAlias()
String
getRootKeyPassword()
KeyStore
getRootKeyStore()
String
getRootKeystoreFilePath()
InputStream
getRootKeystoreIS()
String
getRootKeystorePassword()
byte[]
getRootPublicCertificate()
boolean
isRootSetup()
void
setRootCertificateAlias(String rootCertificateAlias)
void
setRootKeyAlias(String rootKeyAlias)
void
setRootKeyPassword(String rootKeyPassword)
void
setRootKeyStore(KeyStore rootKeyStore)
void
setRootKeystoreFilePath(String rootKeystoreFilePath)
void
setRootKeystorePassword(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)
-
-