Package eu.europa.esig.dss.validation
Class SignatureCRLSource
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
eu.europa.esig.dss.validation.SignatureCRLSource
- All Implemented Interfaces:
CRLSource
,RevocationSource<CRLToken>
,SignatureRevocationSource<CRLToken>
,Serializable
- Direct Known Subclasses:
CMSCRLSource
,PAdESCRLSource
,XAdESCRLSource
public abstract class SignatureCRLSource extends OfflineCRLSource implements SignatureRevocationSource<CRLToken>
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SignatureCRLSource()
-
Method Summary
Modifier and Type Method Description protected void
addReference(CRLRef crlRef, RevocationRefOrigin origin)
Set<CRLRef>
findRefsForRevocationToken(CRLToken revocationToken)
Retrieves a set of found CRL Refs for the givenrevocationToken
List<CRLToken>
findTokensFromRefs(List<CRLRef> revocationRefs)
Retrieves a list of found CRL Tokens for the givenrevocationRefs
List<CRLToken>
getADBERevocationValuesTokens()
Retrieves the list of allRevocationToken
s present in the ADBE element NOTE: Applicable only for PAdES revocation sourceList<CRLRef>
getAllCRLReferences()
Retrieves all found CRL RefsList<CRLToken>
getAllCRLTokens()
Retrieves all found CRL TokensList<CRLRef>
getAttributeRevocationRefs()
List<CRLToken>
getAttributeRevocationValuesTokens()
Retrieves the list of allRevocationToken
s present in 'AttributeRevocationValues' element NOTE: Applicable only for XAdES revocation sourceList<CRLToken>
getCMSSignedDataRevocationTokens()
Retrieves the list of allRevocationToken
s present in the CMS SignedData NOTE: Applicable only for CAdES revocation sourcesList<CRLRef>
getCompleteRevocationRefs()
CRLRef
getCRLRefByDigest(Digest digest)
Returns a containedCRLRef
with the givendigest
List<CRLToken>
getDSSDictionaryTokens()
Retrieves the list of allRevocationToken
s present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation sourceList<CRLRef>
getOrphanCrlRefs()
Returns a list of orphan CRL RefsList<CRLRef>
getReferencesForCRLIdentifier(CRLBinary crlBinary)
Returns a list ofCRLRef
s assigned to the givencrlBinary
List<CRLToken>
getRevocationValuesTokens()
Retrieves the list of allRevocationToken
s present in 'RevocationValues' element NOTE: Applicable only for CAdES and XAdES revocation sourcesList<CRLRef>
getTimestampRevocationRefs()
List<CRLToken>
getTimestampRevocationValuesTokens()
Retrieves the list of allRevocationToken
s present in the Timestamp NOTE: Applicable only for CAdES revocation sourceList<CRLToken>
getTimestampSignedDataRevocationTokens()
Retrieves the list of allRevocationToken
s present in the SignedData of a Timestamp Token NOTE: Applicable only for CAdES revocation sourcesList<CRLToken>
getTimestampValidationDataTokens()
Retrieves the list of allRevocationToken
s present in 'TimestampValidationData' element NOTE: Applicable only for XAdES revocation sourceList<CRLToken>
getVRIDictionaryTokens()
Retrieves the list of allRevocationToken
s present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation sourceprotected void
storeCRLToken(CRLBinary crlBinary, CRLToken crlToken)
Methods inherited from class eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
addCRLBinary, addCRLBinary, getCRLBinaryList, getIdentifier, getIdentifier, getRevocationOrigins, getRevocationToken, isEmpty
-
Constructor Details
-
SignatureCRLSource
public SignatureCRLSource()
-
-
Method Details
-
getCMSSignedDataRevocationTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in the CMS SignedData NOTE: Applicable only for CAdES revocation sources- Specified by:
getCMSSignedDataRevocationTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getTimestampSignedDataRevocationTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in the SignedData of a Timestamp Token NOTE: Applicable only for CAdES revocation sources- Specified by:
getTimestampSignedDataRevocationTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getRevocationValuesTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in 'RevocationValues' element NOTE: Applicable only for CAdES and XAdES revocation sources- Specified by:
getRevocationValuesTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getAttributeRevocationValuesTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in 'AttributeRevocationValues' element NOTE: Applicable only for XAdES revocation source- Specified by:
getAttributeRevocationValuesTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getTimestampValidationDataTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in 'TimestampValidationData' element NOTE: Applicable only for XAdES revocation source- Specified by:
getTimestampValidationDataTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getTimestampRevocationValuesTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in the Timestamp NOTE: Applicable only for CAdES revocation source- Specified by:
getTimestampRevocationValuesTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getDSSDictionaryTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation source- Specified by:
getDSSDictionaryTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getVRIDictionaryTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation source- Specified by:
getVRIDictionaryTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getADBERevocationValuesTokens
Description copied from interface:SignatureRevocationSource
Retrieves the list of allRevocationToken
s present in the ADBE element NOTE: Applicable only for PAdES revocation source- Specified by:
getADBERevocationValuesTokens
in interfaceSignatureRevocationSource<CRLToken>
- Returns:
- list of
RevocationToken
s
-
getCompleteRevocationRefs
-
getAttributeRevocationRefs
-
getTimestampRevocationRefs
-
getAllCRLTokens
Retrieves all found CRL Tokens- Returns:
- list of
CRLToken
s
-
getAllCRLReferences
Retrieves all found CRL Refs- Returns:
- list of
CRLRef
s
-
storeCRLToken
- Overrides:
storeCRLToken
in classOfflineCRLSource
-
addReference
-
getReferencesForCRLIdentifier
Returns a list ofCRLRef
s assigned to the givencrlBinary
-
getCRLRefByDigest
Returns a containedCRLRef
with the givendigest
-
getOrphanCrlRefs
Returns a list of orphan CRL Refs- Returns:
- list of
CRLRef
s
-
findTokensFromRefs
Retrieves a list of found CRL Tokens for the givenrevocationRefs
-
findRefsForRevocationToken
Retrieves a set of found CRL Refs for the givenrevocationToken
-