Package eu.europa.esig.dss.validation
Class CMSCRLSource
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource<CRL>
eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
eu.europa.esig.dss.validation.CMSCRLSource
- All Implemented Interfaces:
MultipleRevocationSource<CRL>
,Serializable
- Direct Known Subclasses:
CAdESCRLSource
,TimestampCRLSource
public abstract class CMSCRLSource extends OfflineCRLSource
CRLSource that retrieves information from a
CMSSignedData
container.- See Also:
- Serialized Form
-
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 void
addX509CRLHolder(org.bouncycastle.cert.X509CRLHolder crlHolder, RevocationOrigin origin)
Computes and storeCRLBinary
fromcrlHolder
Methods inherited from class eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
getRevocationTokens
Methods inherited from class eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource
addBinary, addRevocation, addRevocation, addRevocationReference, findBinaryForReference, findRefsAndOriginsForBinary, findRefsAndOriginsForRevocationToken, getADBERevocationValuesTokens, getAllReferencedRevocationBinaries, getAllRevocationBinaries, getAllRevocationBinariesWithOrigins, getAllRevocationReferences, getAllRevocationTokens, getAllRevocationTokensWithOrigins, getAttributeRevocationRefs, getAttributeRevocationValuesTokens, getCMSSignedDataRevocationBinaries, getCMSSignedDataRevocationTokens, getCompleteRevocationRefs, getDSSDictionaryBinaries, getDSSDictionaryTokens, getOrphanRevocationReferencesWithOrigins, getRevocationValuesTokens, getTimestampValidationDataTokens, getUniqueRevocationTokensWithOrigins, getVRIDictionaryBinaries, getVRIDictionaryTokens, isEmpty, isOrphan
-
Constructor Details
-
CMSCRLSource
public CMSCRLSource(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)The default constructor for CMSCRLSource.- Parameters:
cmsSignedData
-CMSSignedData
unsignedAttributes
-AttributeTable
unsignedAttributes
-
-
Method Details
-
addX509CRLHolder
protected void addX509CRLHolder(org.bouncycastle.cert.X509CRLHolder crlHolder, RevocationOrigin origin)Computes and storeCRLBinary
fromcrlHolder
- Parameters:
crlHolder
-X509CRLHolder
to compute values fromorigin
-RevocationOrigin
indicating the list where to save the object
-