Package com.netscape.certsrv.cert
Interface ICrossCertPairSubsystem
-
- All Superinterfaces:
ISubsystem
- All Known Implementing Classes:
CrossCertPairSubsystem
public interface ICrossCertPairSubsystem extends ISubsystem
Interface for handling cross certs- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.cert.X509Certificate
byteArray2X509Cert(byte[] certBytes)
convert byte array to X509Certificatevoid
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-
Methods inherited from interface com.netscape.certsrv.base.ISubsystem
getConfigStore, getId, init, setId, shutdown, startup
-
-
-
-
Field Detail
-
ID
static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
importCert
void importCert(byte[] certBytes) throws EBaseException
"import" the CA cert cross-signed by another CA (potentially a bridge CA) into internal ldap db. If publishing is turned on, and if matches up a pair, then publish to publishing directory otherwise, leave in internal ldap db and wait for it's matching pair- Parameters:
certBytes
- binary byte array of the cert- Throws:
EBaseException
- when certBytes conversion to X509 certificate fails
-
publishCertPairs
void publishCertPairs() throws EBaseException
publish all cert pairs, if publisher is on- Throws:
EBaseException
- when publishing fails
-
byteArray2X509Cert
java.security.cert.X509Certificate byteArray2X509Cert(byte[] certBytes) throws java.security.cert.CertificateException
convert byte array to X509Certificate- Returns:
- X509Certificate the X509Certificate class representation of the certificate byte array
- Throws:
java.security.cert.CertificateException
- when conversion fails
-
-