Class XAdESCertificateRefExtractionUtils
java.lang.Object
eu.europa.esig.dss.xades.validation.XAdESCertificateRefExtractionUtils
Utils for a XAdES CertificateRef extraction
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateRef
createCertificateRefFromV1
(Element certRefElement, XAdESPath xadesPaths) Extracts aCertificateRef
from a V1certRefElement
static CertificateRef
createCertificateRefFromV2
(Element certRefElement, XAdESPath xadesPaths) Extracts aCertificateRef
from a V2certRefElement
-
Method Details
-
createCertificateRefFromV1
public static CertificateRef createCertificateRefFromV1(Element certRefElement, XAdESPath xadesPaths) Extracts aCertificateRef
from a V1certRefElement
- Parameters:
certRefElement
-Element
V1 certRef elementxadesPaths
-XAdESPath
- Returns:
CertificateRef
-
createCertificateRefFromV2
public static CertificateRef createCertificateRefFromV2(Element certRefElement, XAdESPath xadesPaths) Extracts aCertificateRef
from a V2certRefElement
- Parameters:
certRefElement
-Element
V2 certRef elementxadesPaths
-XAdESPath
- Returns:
CertificateRef
-