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 a
CMSSignedData container.- 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 RevocationOrigingetCMSSignedDataRevocationOrigin()Returns SignedDataRevocationOriginprotected RevocationRefOrigingetCompleteRevocationRefsOrigin()Returns complete-revocation-refsRevocationRefOriginprotected RevocationOrigingetRevocationValuesOrigin()Returns revocation-valuesRevocationOriginList<CRLBinary>getSignedDataCRLIdentifiers()Returns a list ofCRLBinaryIdentifierfound in the SignedData containerMethods inherited from class eu.europa.esig.dss.validation.SignatureCRLSource
addReference, findRefsForRevocationToken, findTokensFromRefs, getADBERevocationValuesTokens, getAllCRLReferences, getAllCRLTokens, getAttributeRevocationRefs, getAttributeRevocationValuesTokens, getCMSSignedDataRevocationTokens, getCompleteRevocationRefs, getCRLRefByDigest, getDSSDictionaryTokens, getOrphanCrlRefs, getReferencesForCRLIdentifier, getRevocationValuesTokens, getTimestampRevocationRefs, getTimestampRevocationValuesTokens, getTimestampSignedDataRevocationTokens, getTimestampValidationDataTokens, getVRIDictionaryTokens, storeCRLTokenMethods inherited from class eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
addCRLBinary, addCRLBinary, getCRLBinaryList, getIdentifier, getIdentifier, getRevocationOrigins, getRevocationToken, isEmpty
-
Field Details
-
cmsSignedData
protected final transient org.bouncycastle.cms.CMSSignedData cmsSignedData -
unsignedAttributes
protected final transient org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes
-
-
Constructor Details
-
CMSCRLSource
public CMSCRLSource(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)The default constructor for CMSCRLSource.- Parameters:
cmsSignedData-CMSSignedDataunsignedAttributes-AttributeTableunsignedAttributes
-
-
Method Details
-
getCMSSignedDataRevocationOrigin
Returns SignedDataRevocationOrigin- Returns:
RevocationOrigin
-
getRevocationValuesOrigin
Returns revocation-valuesRevocationOrigin- Returns:
RevocationOrigin
-
getCompleteRevocationRefsOrigin
Returns complete-revocation-refsRevocationRefOrigin- Returns:
RevocationRefOrigin
-
getAttributeRevocationRefsOrigin
Returns attribute-revocation-refsRevocationRefOrigin- Returns:
RevocationRefOrigin
-
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
-