Package eu.europa.esig.dss.validation
Class CMSCRLSource
- java.lang.Object
-
- eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
-
- eu.europa.esig.dss.validation.SignatureCRLSource
-
- eu.europa.esig.dss.validation.CMSCRLSource
-
- All Implemented Interfaces:
CRLSource,RevocationSource<CRLToken>,SignatureRevocationSource<CRLToken>,Serializable
- Direct Known Subclasses:
CAdESCRLSource,TimestampCRLSource
public abstract class CMSCRLSource extends SignatureCRLSource
CRLSource that retrieves information from aCMSSignedDatacontainer.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bouncycastle.cms.CMSSignedDatacmsSignedDataprotected org.bouncycastle.asn1.cms.AttributeTableunsignedAttributes
-
Constructor Summary
Constructors Constructor Description CMSCRLSource(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)The default constructor for CMSCRLSource.
-
Method Summary
Modifier and Type Method Description protected CRLBinaryaddX509CRLHolder(org.bouncycastle.cert.X509CRLHolder crlHolder, RevocationOrigin origin)Computes and storeCRLBinaryfromcrlHolderprotected RevocationRefOrigingetAttributeRevocationRefsOrigin()Returns attribute-revocation-refsRevocationRefOriginprotected RevocationRefOrigingetCompleteRevocationRefsOrigin()Returns complete-revocation-refsRevocationRefOriginprotected RevocationOrigingetRevocationValuesOrigin()Returns revocation-valuesRevocationOriginList<CRLBinary>getSignedDataCRLIdentifiers()Returns a list ofCRLBinaryIdentifierfound in the SignedData container-
Methods inherited from class eu.europa.esig.dss.validation.SignatureCRLSource
addReference, addReference, findRefsForRevocationToken, findTokensFromRefs, getAllCRLReferences, getAllCRLTokens, getAttributeRevocationRefs, getAttributeRevocationValuesTokens, getCompleteRevocationRefs, getCRLRefByDigest, getCRLTokenMap, getDSSDictionaryTokens, getOrphanCrlRefs, getReferencesForCRLIdentifier, getRevocationValuesTokens, getTimestampRevocationRefs, getTimestampRevocationValuesTokens, getTimestampValidationDataTokens, getVRIDictionaryTokens, populateCRLRevocationValues, storeCRLToken
-
Methods inherited from class eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
addCRLBinary, addCRLBinary, getCRLBinaryList, getIdentifier, getIdentifier, getRevocationOrigins, getRevocationToken, isEmpty
-
-
-
-
Constructor Detail
-
CMSCRLSource
public CMSCRLSource(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)The default constructor for CMSCRLSource.- Parameters:
cmsSignedData-CMSSignedDataunsignedAttributes-AttributeTableunsignedAttributes
-
-
Method Detail
-
getRevocationValuesOrigin
protected RevocationOrigin getRevocationValuesOrigin()
Returns revocation-valuesRevocationOrigin- Returns:
RevocationOrigin
-
getCompleteRevocationRefsOrigin
protected RevocationRefOrigin getCompleteRevocationRefsOrigin()
Returns complete-revocation-refsRevocationRefOrigin- Returns:
RevocationRefOrigin
-
getAttributeRevocationRefsOrigin
protected RevocationRefOrigin getAttributeRevocationRefsOrigin()
Returns attribute-revocation-refsRevocationRefOrigin- Returns:
RevocationRefOrigin
-
getSignedDataCRLIdentifiers
public List<CRLBinary> getSignedDataCRLIdentifiers()
Returns a list ofCRLBinaryIdentifierfound in the SignedData container- Returns:
- list of
CRLBinary
-
addX509CRLHolder
protected CRLBinary addX509CRLHolder(org.bouncycastle.cert.X509CRLHolder crlHolder, RevocationOrigin origin)
Computes and storeCRLBinaryfromcrlHolder- Parameters:
crlHolder-X509CRLHolderto compute values fromorigin-RevocationOriginindicating the list where to save the object- Returns:
CRLBinary
-
-