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, TrustedServiceWrapper caQcTrustedService) CreatesQualificationStrategy
from the certificate and Trusted Servicestatic QualificationStrategy
createQualificationFromTL
(TrustedServiceWrapper trustedService, 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(TrustedServiceWrapper trustedService, QualificationStrategy qualifiedInCert) CreatesQualificationStrategy
from the Trusted Service- Parameters:
trustedService
-TrustedServiceWrapper
qualifiedInCert
-QualificationStrategy
- Returns:
QualificationStrategy
-
createQualificationFromCertAndTL
public static QualificationStrategy createQualificationFromCertAndTL(CertificateWrapper signingCertificate, TrustedServiceWrapper caQcTrustedService) CreatesQualificationStrategy
from the certificate and Trusted Service- Parameters:
signingCertificate
-CertificateWrapper
caQcTrustedService
-TrustedServiceWrapper
- Returns:
QualificationStrategy
-