@Role @Unstable public interface CertificateProvider
| 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.
|
CertifiedPublicKey getCertificate(byte[] keyIdentifier)
keyIdentifier - the subject key identifier of the certificate.CertifiedPublicKey getCertificate(PrincipalIndentifier issuer, BigInteger serial)
issuer - the subject of the issuer of the certificate.serial - the serial number attributed by the issuer to the certificate.CertifiedPublicKey getCertificate(PrincipalIndentifier issuer, BigInteger serial, byte[] keyIdentifier)
issuer - 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.Collection<CertifiedPublicKey> getCertificate(PrincipalIndentifier subject)
subject - the subject of the certificate.Copyright © 2004–2014 XWiki. All rights reserved.