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