Interface CertificateGroup
- All Known Implementing Classes:
DefaultApplicationGroup
public interface CertificateGroup
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn entry describing a certificate and type belonging to aCertificateGroup. -
Method Summary
Modifier and TypeMethodDescriptiongetCertificateChain(NodeId certificateTypeId) Get theX509Certificatechain associated with the certificate of the type identified bycertificateTypeId.Get theCertificateGroup.Entrys belonging to thisCertificateGroup.Get theCertificateFactoryfor thisCertificateGroup.Get theNodeIdidentifying thisCertificateGroup.Get theCertificateValidatorfor thisCertificateGroup.getKeyPair(NodeId certificateTypeId) Get theKeyPairassociated with the certificate of the type identified bycertificateTypeId.Get theNodeIds identifying the types of certificates supported by thisCertificateGroup.Get theTrustListManagerfor thisCertificateGroup.voidupdateCertificate(NodeId certificateTypeId, KeyPair keyPair, X509Certificate[] certificateChain)
-
Method Details
-
getCertificateGroupId
NodeId getCertificateGroupId()Get theNodeIdidentifying thisCertificateGroup.- Returns:
- the
NodeIdidentifying thisCertificateGroup.
-
getSupportedCertificateTypeIds
Get theNodeIds identifying the types of certificates supported by thisCertificateGroup.- Returns:
- the
NodeIds identifying the types of certificates supported by thisCertificateGroup.
-
getTrustListManager
TrustListManager getTrustListManager()Get theTrustListManagerfor thisCertificateGroup.- Returns:
- the
TrustListManagerfor thisCertificateGroup.
-
getCertificateEntries
List<CertificateGroup.Entry> getCertificateEntries()Get theCertificateGroup.Entrys belonging to thisCertificateGroup.- Returns:
- the
CertificateGroup.Entrys belonging to thisCertificateGroup.
-
getKeyPair
Get theKeyPairassociated with the certificate of the type identified bycertificateTypeId. -
getCertificateChain
Get theX509Certificatechain associated with the certificate of the type identified bycertificateTypeId.- Parameters:
certificateTypeId- theNodeIdidentifying the type of certificate.- Returns:
- the
X509Certificatechain associated with the certificate of the type identified bycertificateTypeId.
-
updateCertificate
void updateCertificate(NodeId certificateTypeId, KeyPair keyPair, X509Certificate[] certificateChain) throws Exception - Parameters:
certificateTypeId- theNodeIdidentifying the type of certificate.keyPair- the newKeyPair.certificateChain- the newX509Certificatechain.- Throws:
Exception- if the update fails.
-
getCertificateFactory
CertificateFactory getCertificateFactory()Get theCertificateFactoryfor thisCertificateGroup.- Returns:
- the
CertificateFactoryfor thisCertificateGroup.
-
getCertificateValidator
CertificateValidator getCertificateValidator()Get theCertificateValidatorfor thisCertificateGroup.- Returns:
- the
CertificateValidatorfor thisCertificateGroup.
-