Interface ICrossCertPairSubsystem
- All Superinterfaces:
ISubsystem
Interface for handling cross certs
- Version:
- $Revision$, $Date$
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyteArray2X509Cert(byte[] certBytes) convert byte array to X509CertificatevoidimportCert(byte[] certBytes) "import" the CA cert cross-signed by another CA (potentially a bridge CA) into internal ldap db.voidpublish all cert pairs, if publisher is onMethods inherited from interface ISubsystem
getConfigStore, getId, init, setId, shutdown, startupModifier and TypeMethodDescriptionReturns the root configuration storage of this system.getId()Retrieves the name of this subsystem.voidinit(IConfigStore config) Initializes this subsystem with the given configuration store.voidSets specific to this subsystem.voidshutdown()Stops this system.voidstartup()Notifies this subsystem if owner is in running mode.
-
Field Details
-
ID
- See Also:
-
-
Method Details
-
importCert
"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
publish all cert pairs, if publisher is on- Throws:
EBaseException- when publishing fails
-
byteArray2X509Cert
convert byte array to X509Certificate- Returns:
- X509Certificate the X509Certificate class representation of the certificate byte array
- Throws:
CertificateException- when conversion fails
-