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 voidaddReference(CRLRef crlRef, RevocationRefOrigin origin)Set<CRLRef>findRefsForRevocationToken(CRLToken revocationToken)Retrieves a set of found CRL Refs for the givenrevocationTokenList<CRLToken>findTokensFromRefs(List<CRLRef> revocationRefs)Retrieves a list of found CRL Tokens for the givenrevocationRefsList<CRLToken>getADBERevocationValuesTokens()Retrieves the list of allRevocationTokens 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 allRevocationTokens present in 'AttributeRevocationValues' element NOTE: Applicable only for XAdES revocation sourceList<CRLToken>getCMSSignedDataRevocationTokens()Retrieves the list of allRevocationTokens present in the CMS SignedData NOTE: Applicable only for CAdES revocation sourcesList<CRLRef>getCompleteRevocationRefs()CRLRefgetCRLRefByDigest(Digest digest)Returns a containedCRLRefwith the givendigestList<CRLToken>getDSSDictionaryTokens()Retrieves the list of allRevocationTokens 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 ofCRLRefs assigned to the givencrlBinaryList<CRLToken>getRevocationValuesTokens()Retrieves the list of allRevocationTokens present in 'RevocationValues' element NOTE: Applicable only for CAdES and XAdES revocation sourcesList<CRLRef>getTimestampRevocationRefs()List<CRLToken>getTimestampRevocationValuesTokens()Retrieves the list of allRevocationTokens present in the Timestamp NOTE: Applicable only for CAdES revocation sourceList<CRLToken>getTimestampSignedDataRevocationTokens()Retrieves the list of allRevocationTokens present in the SignedData of a Timestamp Token NOTE: Applicable only for CAdES revocation sourcesList<CRLToken>getTimestampValidationDataTokens()Retrieves the list of allRevocationTokens present in 'TimestampValidationData' element NOTE: Applicable only for XAdES revocation sourceList<CRLToken>getVRIDictionaryTokens()Retrieves the list of allRevocationTokens present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation sourceprotected voidstoreCRLToken(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:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in the CMS SignedData NOTE: Applicable only for CAdES revocation sources- Specified by:
getCMSSignedDataRevocationTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getTimestampSignedDataRevocationTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in the SignedData of a Timestamp Token NOTE: Applicable only for CAdES revocation sources- Specified by:
getTimestampSignedDataRevocationTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getRevocationValuesTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in 'RevocationValues' element NOTE: Applicable only for CAdES and XAdES revocation sources- Specified by:
getRevocationValuesTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getAttributeRevocationValuesTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in 'AttributeRevocationValues' element NOTE: Applicable only for XAdES revocation source- Specified by:
getAttributeRevocationValuesTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getTimestampValidationDataTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in 'TimestampValidationData' element NOTE: Applicable only for XAdES revocation source- Specified by:
getTimestampValidationDataTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getTimestampRevocationValuesTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in the Timestamp NOTE: Applicable only for CAdES revocation source- Specified by:
getTimestampRevocationValuesTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getDSSDictionaryTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation source- Specified by:
getDSSDictionaryTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getVRIDictionaryTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation source- Specified by:
getVRIDictionaryTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getADBERevocationValuesTokens
Description copied from interface:SignatureRevocationSourceRetrieves the list of allRevocationTokens present in the ADBE element NOTE: Applicable only for PAdES revocation source- Specified by:
getADBERevocationValuesTokensin interfaceSignatureRevocationSource<CRLToken>- Returns:
- list of
RevocationTokens
-
getCompleteRevocationRefs
-
getAttributeRevocationRefs
-
getTimestampRevocationRefs
-
getAllCRLTokens
Retrieves all found CRL Tokens- Returns:
- list of
CRLTokens
-
getAllCRLReferences
Retrieves all found CRL Refs- Returns:
- list of
CRLRefs
-
storeCRLToken
- Overrides:
storeCRLTokenin classOfflineCRLSource
-
addReference
-
getReferencesForCRLIdentifier
Returns a list ofCRLRefs assigned to the givencrlBinary -
getCRLRefByDigest
Returns a containedCRLRefwith the givendigest -
getOrphanCrlRefs
Returns a list of orphan CRL Refs- Returns:
- list of
CRLRefs
-
findTokensFromRefs
Retrieves a list of found CRL Tokens for the givenrevocationRefs -
findRefsForRevocationToken
Retrieves a set of found CRL Refs for the givenrevocationToken
-