public class CandidatesForSigningCertificate extends Object implements Serializable
| Constructor and Description |
|---|
CandidatesForSigningCertificate() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CertificateValidity certificateValidity)
This method allows to add a candidate for the signing certificate.
|
List<CertificateValidity> |
getCertificateValidityList() |
List<CertificateToken> |
getSigningCertificateTokenList() |
CertificateValidity |
getTheBestCandidate()
This method returns the best candidate for the signing certificate.
|
CertificateValidity |
getTheCertificateValidity()
The
theSigningCertificateValidity object must be set before. |
void |
setTheCertificateValidity(CertificateValidity theCertificateValidity)
This method allows to set the
SigningCertificateValidity object after the verification of its signature. |
public List<CertificateValidity> getCertificateValidityList()
public List<CertificateToken> getSigningCertificateTokenList()
public void add(CertificateValidity certificateValidity)
certificateValidity - A new candidate with its validity.public void setTheCertificateValidity(CertificateValidity theCertificateValidity) throws DSSException
SigningCertificateValidity object after the verification of its signature.
theSigningCertificateValidity object must be in the
list of the candidates.theCertificateValidity - the certain signing certificate validity objectDSSException - if the SigningCertificateValidity is not present in the list of candidates then the
DSSException is frown.public CertificateValidity getTheCertificateValidity()
theSigningCertificateValidity object must be set before.SigningCertificateValidity or null if such a certificate
was not identified.public CertificateValidity getTheBestCandidate()
Copyright © 2018. All rights reserved.