public interface ICrossCertPairSubsystem extends ISubsystem
Modifier and Type | Method and Description |
---|---|
java.security.cert.X509Certificate |
byteArray2X509Cert(byte[] certBytes)
convert byte array to X509Certificate
|
void |
importCert(byte[] certBytes)
"import" the CA cert cross-signed by another CA (potentially a
bridge CA) into internal ldap db.
|
void |
publishCertPairs()
publish all cert pairs, if publisher is on
|
getConfigStore, getId, init, setId, shutdown, startup
void importCert(byte[] certBytes) throws EBaseException
certBytes
- binary byte array of the certEBaseException
- when certBytes conversion to X509
certificate failsvoid publishCertPairs() throws EBaseException
EBaseException
- when publishing failsjava.security.cert.X509Certificate byteArray2X509Cert(byte[] certBytes) throws java.security.cert.CertificateException
java.security.cert.CertificateException
- when conversion fails