Class CAdESTimestampSource
java.lang.Object
eu.europa.esig.dss.spi.validation.timestamp.AbstractTimestampSource
eu.europa.esig.dss.spi.validation.timestamp.SignatureTimestampSource<CAdESSignature,CAdESAttribute>
eu.europa.esig.dss.cades.validation.timestamp.CAdESTimestampSource
- All Implemented Interfaces:
TimestampSource,Serializable
- Direct Known Subclasses:
PAdESTimestampSource
The timestamp source for a CAdES signature
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.validation.timestamp.SignatureTimestampSource
archiveTimestamps, certificateSource, contentTimestamps, crlSource, detachedEvidenceRecords, detachedTimestamps, embeddedEvidenceRecords, ocspSource, refsOnlyTimestamps, sigAndRefsTimestamps, signature, signatureTimestamps, unsignedPropertiesReferences -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildCRLIdentifiers(org.bouncycastle.asn1.x509.CertificateList... crlVals) Builds a list of CRL identifiers for the givenrevValsprotected List<OCSPResponseBinary> buildOCSPIdentifiers(org.bouncycastle.cert.ocsp.BasicOCSPResp... ocspVals) Builds a list of OCSP identifiers for the givenocspValsprotected SignatureProperties<CAdESAttribute> Creates the 'signed-signature-properties' element of the signatureprotected SignatureProperties<CAdESAttribute> Creates the 'unsigned-signature-properties' element of the signatureprotected List<TimestampedReference> getArchiveTimestampReferences(List<TimestampToken> previousTimestamps) Returns a list of time-stamped references for an archival time-stampprotected ArchiveTimestampTypegetArchiveTimestampType(CAdESAttribute unsignedAttribute) ReturnsArchiveTimestampTypefor the givenunsignedAttributeprotected List<CertificateRef> getCertificateRefs(CAdESAttribute unsignedAttribute) Returns a list ofCertificateRefs from the givenunsignedAttributeprotected List<TimestampedReference> getCounterSignatureReferences(AdvancedSignature counterSignature) Returns a list of references extracted from a counter signatureprotected List<AdvancedSignature> getCounterSignatures(CAdESAttribute unsignedAttribute) Extracts Counter Signatures from the givenunsignedAttributegetCRLRefs(CAdESAttribute unsignedAttribute) Returns a list of CRL revocation refs from the givenunsignedAttributeprotected List<Identifier> getEncapsulatedCertificateIdentifiers(CAdESAttribute unsignedAttribute) Returns a list ofIdentifiers obtained from the givenunsignedAttributegetEncapsulatedCRLIdentifiers(CAdESAttribute unsignedAttribute) Returns a list ofCRLBinarys obtained from the givenunsignedAttributeprotected List<OCSPResponseBinary> getEncapsulatedOCSPIdentifiers(CAdESAttribute unsignedAttribute) Returns a list ofOCSPResponseBinarys obtained from the givenunsignedAttributegetOCSPRefs(CAdESAttribute unsignedAttribute) Returns a list of OCSP revocation refs from the givenunsignedAttributeprotected List<TimestampedReference> Returns a list of allTimestampedReferences found into CMS SignedData of the signature NOTE: used only in ASiC-E CAdESprotected CAdESTimestampMessageDigestBuildergetTimestampMessageImprintDigestBuilder(DigestAlgorithm digestAlgorithm) Returns aTimestampMessageDigestBuilderto compute message digest with the providedDigestAlgorithmprotected CAdESTimestampMessageDigestBuildergetTimestampMessageImprintDigestBuilder(TimestampToken timestampToken) Returns a relatedTimestampMessageDigestBuilderprotected voidincorporateArchiveTimestampReferences(TimestampToken timestampToken, List<TimestampToken> previousTimestamps) The method incorporates all the timestamped references for the given archivetimestampTokenprotected booleanisAllDataObjectsTimestamp(CAdESAttribute signedAttribute) Determines if the givensignedAttributeis an instance of "data-objects-timestamp" element NOTE: Applicable only for XAdESprotected booleanisArchiveTimestamp(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "archive-timestamp" elementprotected booleanisAttrAuthoritiesCertValues(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "AttrAuthoritiesCertValues" elementprotected booleanisAttributeCertificateRef(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "attribute-certificate-ref" elementprotected booleanisAttributeRevocationRef(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "attribute-revocation-ref" elementprotected booleanisAttributeRevocationValues(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "AttributeRevocationValues" elementprotected booleanisCertificateValues(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "certificate-values" elementprotected booleanisCompleteCertificateRef(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "complete-certificate-ref" elementprotected booleanisCompleteRevocationRef(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "complete-revocation-ref" elementprotected booleanisContentTimestamp(CAdESAttribute signedAttribute) Determines if the givensignedAttributeis an instance of "content-timestamp" element NOTE: Applicable only for CAdESprotected booleanisCounterSignature(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "counter-signature" elementprotected booleanisEvidenceRecord(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "evidence-record" elementprotected booleanisIndividualDataObjectsTimestamp(CAdESAttribute signedAttribute) Determines if the givensignedAttributeis an instance of "individual-data-objects-timestamp" element NOTE: Applicable only for XAdESprotected booleanisRefsOnlyTimestamp(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "refs-only-timestamp" elementprotected booleanisRevocationValues(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "revocation-values" elementprotected booleanisSigAndRefsTimestamp(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "sig-and-refs-timestamp" elementprotected booleanisSignaturePolicyStore(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "signature-policy-store" elementprotected booleanisSignatureTimestamp(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "signature-timestamp" elementprotected booleanisTimeStampValidationData(CAdESAttribute unsignedAttribute) Determines if the givenunsignedAttributeis an instance of "timestamp-validation-data" elementprotected List<EvidenceRecord> makeEvidenceRecords(CAdESAttribute signatureAttribute, List<TimestampedReference> references) Creates a list of evidence records from the providedsignatureAttributeprotected TimestampTokenmakeTimestampToken(CAdESAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references) Creates a timestamp token from the providedsignatureAttributeMethods inherited from class eu.europa.esig.dss.spi.validation.timestamp.SignatureTimestampSource
addExternalEvidenceRecord, addExternalTimestamp, createAndValidate, getAllEvidenceRecords, getAllTimestamps, getAllTimestampsExceptLastArchiveTimestamp, getArchiveTimestamps, getAttributeOrder, getContentTimestamps, getCounterSignaturesReferences, getDetachedEvidenceRecords, getDetachedTimestamps, getDocumentTimestamps, getEmbeddedEvidenceRecords, getEncapsulatedReferencesFromTimestamps, getKeyInfoReferences, getSignatureReference, getSignatureTimestampReferences, getSignatureTimestamps, getSignedSignatureProperties, getSignerDataReferences, getSigningCertificateTimestampReferences, getTimestampCertificateSources, getTimestampCertificateSourcesExceptLastArchiveTimestamp, getTimestampCRLSources, getTimestampedCertificateRefs, getTimestampedCertificateValues, getTimestampedRevocationRefs, getTimestampedRevocationValues, getTimestampOCSPSources, getTimestampScopes, getTimestampsX1, getTimestampsX2, getTimestampValidationData, getUnsignedPropertiesReferences, getUnsignedSignatureProperties, isTimestamped, makeTimestampTokens, makeTimestampTokens, makeTimestampTokens, makeTimestampTokensFromSignedAttributes, makeTimestampTokensFromUnsignedAttributes, populateSources, populateSources, populateSources, validateTimestampsMethods inherited from class eu.europa.esig.dss.spi.validation.timestamp.AbstractTimestampSource
addReference, addReference, addReferences, createReferenceForCertificate, createReferenceForIdentifier, createReferencesForCertificateRefs, createReferencesForCertificates, createReferencesForCRLBinaries, createReferencesForCRLRefs, createReferencesForIdentifiers, createReferencesForOCSPBinaries, createReferencesForOCSPBinary, createReferencesForOCSPRefs, getEncapsulatedValuesFromTimestamp, getReferencesFromTimestamp, getSignerDataTimestampedReferences, processEmbeddedEvidenceRecords, processEvidenceRecordTimestamps
-
Constructor Details
-
CAdESTimestampSource
The default constructor- Parameters:
signature-CAdESSignatureto get timestamps for
-
-
Method Details
-
getTimestampMessageImprintDigestBuilder
protected CAdESTimestampMessageDigestBuilder getTimestampMessageImprintDigestBuilder(DigestAlgorithm digestAlgorithm) Description copied from class:SignatureTimestampSourceReturns aTimestampMessageDigestBuilderto compute message digest with the providedDigestAlgorithm- Specified by:
getTimestampMessageImprintDigestBuilderin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
digestAlgorithm-DigestAlgorithmto use for message-digest computation- Returns:
TimestampMessageDigestBuilder
-
getTimestampMessageImprintDigestBuilder
protected CAdESTimestampMessageDigestBuilder getTimestampMessageImprintDigestBuilder(TimestampToken timestampToken) Description copied from class:SignatureTimestampSourceReturns a relatedTimestampMessageDigestBuilder- Specified by:
getTimestampMessageImprintDigestBuilderin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
timestampToken-TimestampTokento get message-imprint digest builder for- Returns:
TimestampMessageDigestBuilder
-
buildSignedSignatureProperties
Description copied from class:SignatureTimestampSourceCreates the 'signed-signature-properties' element of the signature- Specified by:
buildSignedSignaturePropertiesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Returns:
SignatureProperties
-
buildUnsignedSignatureProperties
Description copied from class:SignatureTimestampSourceCreates the 'unsigned-signature-properties' element of the signature- Specified by:
buildUnsignedSignaturePropertiesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Returns:
SignatureProperties
-
isContentTimestamp
Description copied from class:SignatureTimestampSourceDetermines if the givensignedAttributeis an instance of "content-timestamp" element NOTE: Applicable only for CAdES- Specified by:
isContentTimestampin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
signedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Data Objects Timestamp, FALSE otherwise
-
isAllDataObjectsTimestamp
Description copied from class:SignatureTimestampSourceDetermines if the givensignedAttributeis an instance of "data-objects-timestamp" element NOTE: Applicable only for XAdES- Specified by:
isAllDataObjectsTimestampin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
signedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Data Objects Timestamp, FALSE otherwise
-
isIndividualDataObjectsTimestamp
Description copied from class:SignatureTimestampSourceDetermines if the givensignedAttributeis an instance of "individual-data-objects-timestamp" element NOTE: Applicable only for XAdES- Specified by:
isIndividualDataObjectsTimestampin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
signedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Data Objects Timestamp, FALSE otherwise
-
isSignatureTimestamp
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "signature-timestamp" element- Specified by:
isSignatureTimestampin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Signature Timestamp, FALSE otherwise
-
isCompleteCertificateRef
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "complete-certificate-ref" element- Specified by:
isCompleteCertificateRefin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Complete Certificate Ref, FALSE otherwise
-
isAttributeCertificateRef
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "attribute-certificate-ref" element- Specified by:
isAttributeCertificateRefin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis an Attribute Certificate Ref, FALSE otherwise
-
isCompleteRevocationRef
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "complete-revocation-ref" element- Specified by:
isCompleteRevocationRefin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Complete Revocation Ref, FALSE otherwise
-
isAttributeRevocationRef
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "attribute-revocation-ref" element- Specified by:
isAttributeRevocationRefin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis an Attribute Revocation Ref, FALSE otherwise
-
isRefsOnlyTimestamp
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "refs-only-timestamp" element- Specified by:
isRefsOnlyTimestampin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Refs Only TimeStamp, FALSE otherwise
-
isSigAndRefsTimestamp
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "sig-and-refs-timestamp" element- Specified by:
isSigAndRefsTimestampin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Sig And Refs TimeStamp, FALSE otherwise
-
isCertificateValues
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "certificate-values" element- Specified by:
isCertificateValuesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Certificate Values, FALSE otherwise
-
isRevocationValues
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "revocation-values" element- Specified by:
isRevocationValuesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis a Revocation Values, FALSE otherwise
-
isAttrAuthoritiesCertValues
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "AttrAuthoritiesCertValues" element- Specified by:
isAttrAuthoritiesCertValuesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis an AttrAuthoritiesCertValues, FALSE otherwise
-
isAttributeRevocationValues
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "AttributeRevocationValues" element- Specified by:
isAttributeRevocationValuesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis an AttributeRevocationValues, FALSE otherwise
-
isArchiveTimestamp
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "archive-timestamp" element- Specified by:
isArchiveTimestampin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureAttributeto process- Returns:
- TRUE if the
unsignedAttributeis an Archive TimeStamp, FALSE otherwise
-
isTimeStampValidationData
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "timestamp-validation-data" element- Specified by:
isTimeStampValidationDatain classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto process- Returns:
- TRUE if the
unsignedAttributeis a TimeStamp Validation Data, FALSE otherwise
-
isCounterSignature
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "counter-signature" element- Specified by:
isCounterSignaturein classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto process- Returns:
- TRUE if the
unsignedAttributeis a Counter signature, FALSE otherwise
-
isSignaturePolicyStore
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "signature-policy-store" element- Specified by:
isSignaturePolicyStorein classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto process- Returns:
- TRUE if the
unsignedAttributeis a Counter signature, FALSE otherwise
-
isEvidenceRecord
Description copied from class:SignatureTimestampSourceDetermines if the givenunsignedAttributeis an instance of "evidence-record" element- Specified by:
isEvidenceRecordin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto process- Returns:
- TRUE if the
unsignedAttributeis an evidence record, FALSE otherwise
-
makeTimestampToken
protected TimestampToken makeTimestampToken(CAdESAttribute signatureAttribute, TimestampType timestampType, List<TimestampedReference> references) Description copied from class:SignatureTimestampSourceCreates a timestamp token from the providedsignatureAttribute- Specified by:
makeTimestampTokenin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
signatureAttribute-SignatureAttributeto create timestamp fromtimestampType- a targetTimestampTypereferences- list ofTimestampedReferences covered by the current timestamp- Returns:
TimestampToken
-
makeEvidenceRecords
protected List<EvidenceRecord> makeEvidenceRecords(CAdESAttribute signatureAttribute, List<TimestampedReference> references) Description copied from class:SignatureTimestampSourceCreates a list of evidence records from the providedsignatureAttribute- Specified by:
makeEvidenceRecordsin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
signatureAttribute-SignatureAttributeto create evidence records fromreferences- list ofTimestampedReferences covered by the current evidence record(s)- Returns:
- a list of
EvidenceRecords
-
incorporateArchiveTimestampReferences
protected void incorporateArchiveTimestampReferences(TimestampToken timestampToken, List<TimestampToken> previousTimestamps) Description copied from class:SignatureTimestampSourceThe method incorporates all the timestamped references for the given archivetimestampToken- Overrides:
incorporateArchiveTimestampReferencesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
timestampToken-TimestampTokenrepresenting an Archive TST to add references intopreviousTimestamps- a list of previously createdTimestampTokens
-
getArchiveTimestampReferences
protected List<TimestampedReference> getArchiveTimestampReferences(List<TimestampToken> previousTimestamps) Description copied from class:SignatureTimestampSourceReturns a list of time-stamped references for an archival time-stamp- Overrides:
getArchiveTimestampReferencesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
previousTimestamps- a list of previousTimestampTokens- Returns:
- a list of
TimestampedReferences
-
getSignatureSignedDataReferences
Description copied from class:SignatureTimestampSourceReturns a list of allTimestampedReferences found into CMS SignedData of the signature NOTE: used only in ASiC-E CAdES- Overrides:
getSignatureSignedDataReferencesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Returns:
- list of
TimestampedReferences
-
getCertificateRefs
Description copied from class:SignatureTimestampSourceReturns a list ofCertificateRefs from the givenunsignedAttribute- Specified by:
getCertificateRefsin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto get certRefs from- Returns:
- list of
CertificateRefs
-
getCRLRefs
Description copied from class:SignatureTimestampSourceReturns a list of CRL revocation refs from the givenunsignedAttribute- Specified by:
getCRLRefsin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto get CRLRef- Returns:
- list of
CRLRefs
-
getOCSPRefs
Description copied from class:SignatureTimestampSourceReturns a list of OCSP revocation refs from the givenunsignedAttribute- Specified by:
getOCSPRefsin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto get OCSPRefs from- Returns:
- list of
OCSPRefs
-
getEncapsulatedCertificateIdentifiers
Description copied from class:SignatureTimestampSourceReturns a list ofIdentifiers obtained from the givenunsignedAttribute- Specified by:
getEncapsulatedCertificateIdentifiersin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto get certificate identifiers from- Returns:
- list of
Identifiers
-
getEncapsulatedCRLIdentifiers
Description copied from class:SignatureTimestampSourceReturns a list ofCRLBinarys obtained from the givenunsignedAttribute- Specified by:
getEncapsulatedCRLIdentifiersin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto get CRL identifiers from- Returns:
- list of
CRLBinarys
-
buildCRLIdentifiers
-
getEncapsulatedOCSPIdentifiers
Description copied from class:SignatureTimestampSourceReturns a list ofOCSPResponseBinarys obtained from the givenunsignedAttribute- Specified by:
getEncapsulatedOCSPIdentifiersin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto get OCSP identifiers from- Returns:
- list of
OCSPResponseBinarys
-
buildOCSPIdentifiers
protected List<OCSPResponseBinary> buildOCSPIdentifiers(org.bouncycastle.cert.ocsp.BasicOCSPResp... ocspVals) Builds a list of OCSP identifiers for the givenocspVals- Parameters:
ocspVals- instances ofBasicOCSPResponserepresenting OCSP basic responses- Returns:
- a list of
OCSPResponseBinary
-
getArchiveTimestampType
Description copied from class:SignatureTimestampSourceReturnsArchiveTimestampTypefor the givenunsignedAttribute- Specified by:
getArchiveTimestampTypein classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourceto get archive timestamp type for- Returns:
ArchiveTimestampType
-
getCounterSignatures
Description copied from class:SignatureTimestampSourceExtracts Counter Signatures from the givenunsignedAttribute- Specified by:
getCounterSignaturesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
unsignedAttribute-SignatureTimestampSourcecontaining counter signatures- Returns:
- a list of
AdvancedSignaturecontaining counter signatures
-
getCounterSignatureReferences
protected List<TimestampedReference> getCounterSignatureReferences(AdvancedSignature counterSignature) Description copied from class:SignatureTimestampSourceReturns a list of references extracted from a counter signature- Overrides:
getCounterSignatureReferencesin classSignatureTimestampSource<CAdESSignature,CAdESAttribute> - Parameters:
counterSignature-AdvancedSignaturerepresenting a counter signature- Returns:
- a list of
TimestampedReferences
-