Package org.xwiki.crypto.pkix
Interface CertificateChainBuilder
-
@Role public interface CertificateChainBuilder
Build a certificate chain for a given certificate and a certificate provider.- Since:
- 6.0M1
- Version:
- $Id: c746ddb930103a172a33a7f6ba25fa4e73cf4bb2 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<CertifiedPublicKey>
build(CertifiedPublicKey certificate, CertificateProvider provider)
Build a certification chain for a given certificate.
-
-
-
Method Detail
-
build
Collection<CertifiedPublicKey> build(CertifiedPublicKey certificate, CertificateProvider provider)
Build a certification chain for a given certificate.- Parameters:
certificate
- the certificate to build the chain for.provider
- a certificate provider to retrieve required certificates.- Returns:
- a collection of certificates ordered from the root to the end entity.
-
-