Class QualificationStrategyFactory
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.certificate.checks.qualified.QualificationStrategyFactory
Gets a
QualificationStrategy
to detect qualification strategy for a certificate-
Method Summary
Modifier and TypeMethodDescriptionstatic QualificationStrategy
createQualificationFromCert
(CertificateWrapper signingCertificate) CreatesQualificationStrategy
from the certificatestatic QualificationStrategy
createQualificationFromCertAndTL
(CertificateWrapper signingCertificate, TrustServiceWrapper caQcTrustService) CreatesQualificationStrategy
from the certificate and Trusted Servicestatic QualificationStrategy
createQualificationFromTL
(TrustServiceWrapper trustService, QualificationStrategy qualifiedInCert) CreatesQualificationStrategy
from the Trusted Service
-
Method Details
-
createQualificationFromCert
public static QualificationStrategy createQualificationFromCert(CertificateWrapper signingCertificate) CreatesQualificationStrategy
from the certificate- Parameters:
signingCertificate
-CertificateWrapper
- Returns:
QualificationStrategy
-
createQualificationFromTL
public static QualificationStrategy createQualificationFromTL(TrustServiceWrapper trustService, QualificationStrategy qualifiedInCert) CreatesQualificationStrategy
from the Trusted Service- Parameters:
trustService
-TrustServiceWrapper
qualifiedInCert
-QualificationStrategy
- Returns:
QualificationStrategy
-
createQualificationFromCertAndTL
public static QualificationStrategy createQualificationFromCertAndTL(CertificateWrapper signingCertificate, TrustServiceWrapper caQcTrustService) CreatesQualificationStrategy
from the certificate and Trusted Service- Parameters:
signingCertificate
-CertificateWrapper
caQcTrustService
-TrustServiceWrapper
- Returns:
QualificationStrategy
-