public class ChainingCertificateProvider extends Object implements CertificateProvider
| Constructor and Description |
|---|
ChainingCertificateProvider(CertificateProvider... providers)
Create a new chaining certificate provider from the given providers.
|
| Modifier and Type | Method and Description |
|---|---|
CertifiedPublicKey |
getCertificate(byte[] keyIdentifier)
Return if available a certificate matching the given keyIdentifier.
|
Collection<CertifiedPublicKey> |
getCertificate(PrincipalIndentifier subject)
Return if available a collection of certificate matching the given subject.
|
CertifiedPublicKey |
getCertificate(PrincipalIndentifier issuer,
BigInteger serial)
Return if available a certificate matching the given keyIdentifier.
|
CertifiedPublicKey |
getCertificate(PrincipalIndentifier issuer,
BigInteger serial,
byte[] keyIdentifier)
Return if available a certificate matching the given keyIdentifier.
|
public ChainingCertificateProvider(CertificateProvider... providers)
providers - providers to be chained in order.public CertifiedPublicKey getCertificate(byte[] keyIdentifier)
CertificateProvidergetCertificate in interface CertificateProviderkeyIdentifier - the subject key identifier of the certificate.public CertifiedPublicKey getCertificate(PrincipalIndentifier issuer, BigInteger serial)
CertificateProvidergetCertificate in interface CertificateProviderissuer - the subject of the issuer of the certificate.serial - the serial number attributed by the issuer to the certificate.public CertifiedPublicKey getCertificate(PrincipalIndentifier issuer, BigInteger serial, byte[] keyIdentifier)
CertificateProvidergetCertificate in interface CertificateProviderissuer - the subject of the issuer of the certificate.serial - the serial number attributed by the issuer to the certificate.keyIdentifier - the subject key identifier of the certificate.public Collection<CertifiedPublicKey> getCertificate(PrincipalIndentifier subject)
CertificateProvidergetCertificate in interface CertificateProvidersubject - the subject of the certificate.Copyright © 2004–2014 XWiki. All rights reserved.