Interface CertificateManager
- All Known Implementing Classes:
DefaultCertificateManager
public interface CertificateManager
-
Method Summary
Modifier and TypeMethodDescriptiongetCertificate(ByteString thumbprint) Get theX509Certificateidentified bythumbprint.getCertificateChain(ByteString thumbprint) Get theX509Certificateidentified bythumbprintas well as any certificates in its chain.getCertificateGroup(ByteString thumbprint) getCertificateGroup(NodeId certificateGroupId) Get theCertificateGroupidentified bycertificateGroupId.Get theCertificateGroups managed by thisCertificateManager.Get the Server'sCertificateQuarantine.default Optional<CertificateGroup>Get the DefaultApplicationGroupCertificateGroup, if it's configured.default Optional<CertificateGroup>Get the DefaultHttpsGroupCertificateGroup, if it's configured.default Optional<CertificateGroup>Get the DefaultUserTokenGroupCertificateGroup, if it's configured.getKeyPair(ByteString thumbprint) Get theKeyPairbelonging to the certificate identified bythumbprint.
-
Method Details
-
getKeyPair
Get theKeyPairbelonging to the certificate identified bythumbprint.thumbprintis a SHA1 hash of the encoded certificate.- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
KeyPairbelonging to the certificate identified bythumbprint.
-
getCertificate
Get theX509Certificateidentified bythumbprint.thumbprintis a SHA1 hash of the encoded certificate.- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
X509Certificateidentified bythumbprint.
-
getCertificateChain
Get theX509Certificateidentified bythumbprintas well as any certificates in its chain.- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
X509Certificateidentified bythumbprintas well as any certificates in its chain.
-
getCertificateGroup
- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
CertificateGroupcontaining theX509Certificateidentified bythumbprint.
-
getCertificateGroup
Get theCertificateGroupidentified bycertificateGroupId.- Parameters:
certificateGroupId- theNodeIdidentifying theCertificateGroup.- Returns:
- the
CertificateGroupidentified bycertificateGroupId.
-
getCertificateGroups
List<CertificateGroup> getCertificateGroups()Get theCertificateGroups managed by thisCertificateManager.- Returns:
- the
CertificateGroups managed by thisCertificateManager.
-
getCertificateQuarantine
CertificateQuarantine getCertificateQuarantine()Get the Server'sCertificateQuarantine.- Returns:
- the Server's
CertificateQuarantine.
-
getDefaultApplicationGroup
Get the DefaultApplicationGroupCertificateGroup, if it's configured.Servers are required to support the DefaultApplicationGroup CertificateGroup.
- Returns:
- the DefaultApplicationGroup
CertificateGroup, if it's configured.
-
getDefaultUserTokenGroup
Get the DefaultUserTokenGroupCertificateGroup, if it's configured.Support for the DefaultUserTokenGroup CertificateGroup is optional.
- Returns:
- the DefaultUserTokenGroup
CertificateGroup, if it's configured.
-
getDefaultHttpsGroup
Get the DefaultHttpsGroupCertificateGroup, if it's configured.Support for the DefaultHttpsGroup CertificateGroup is optional.
- Returns:
- the DefaultHttpsGroup
CertificateGroup, if it's configured.
-