| Modifier and Type | Field and Description |
|---|---|
| private TimeStampedDataParser | |
| private TimeStampDataUtil |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public InputStream | |
| public URI | |
| public String | |
| public String | |
| public DigestCalculator | Returns: an initialised digest calculator.a provider of DigestCalculator objects. calculatorProvider)Returns an appropriately initialised digest calculator based on the message imprint algorithm described in the first time stamp in the TemporalData for this message. |
| public AttributeTable | |
| public TimeStampToken[] | |
| public void | initialiseMessageImprintDigestCalculator(DigestCalculator
the digest calculator to be initialised. calculator)Initialise the passed in calculator with the MetaData for this message, if it is required as part of the initial message imprint calculation. |
| private void | |
| private void | |
| public void | validate(DigestCalculatorProvider
provider for digest calculators calculatorProvider, byte[] the calculated data digest for the message dataDigest)Validate the digests present in the TimeStampTokens contained in the CMSTimeStampedData. |
| public void | validate(DigestCalculatorProvider
provider for digest calculators calculatorProvider, byte[] the calculated data digest for the message. dataDigest, TimeStampToken the timestamp token of interest. timeStampToken)Validate the passed in timestamp token against the tokens and data present in the message. |
| timeStampedData | back to summary |
|---|---|
| private TimeStampedDataParser timeStampedData | |
| util | back to summary |
|---|---|
| private TimeStampDataUtil util | |
| CMSTimeStampedDataParser | back to summary |
|---|---|
| public CMSTimeStampedDataParser(InputStream in) throws CMSException | |
| CMSTimeStampedDataParser | back to summary |
|---|---|
| public CMSTimeStampedDataParser(byte[] baseData) throws CMSException | |
| calculateNextHash | back to summary |
|---|---|
| public byte[] calculateNextHash(DigestCalculator calculator) throws CMSException | |
| getContent | back to summary |
|---|---|
| public InputStream getContent() | |
| getDataUri | back to summary |
|---|---|
| public URI getDataUri() throws URISyntaxException | |
| getFileName | back to summary |
|---|---|
| public String getFileName() | |
| getMediaType | back to summary |
|---|---|
| public String getMediaType() | |
| getMessageImprintDigestCalculator | back to summary |
|---|---|
| public DigestCalculator getMessageImprintDigestCalculator(DigestCalculatorProvider calculatorProvider) throws OperatorCreationException Returns an appropriately initialised digest calculator based on the message imprint algorithm described in the first time stamp in the TemporalData for this message. If the metadata is required to be included in the digest calculation, the returned calculator will be pre-initialised.
| |
| getOtherMetaData | back to summary |
|---|---|
| public AttributeTable getOtherMetaData() | |
| getTimeStampTokens | back to summary |
|---|---|
| public TimeStampToken[] getTimeStampTokens() throws CMSException | |
| initialiseMessageImprintDigestCalculator | back to summary |
|---|---|
| public void initialiseMessageImprintDigestCalculator(DigestCalculator calculator) throws CMSException Initialise the passed in calculator with the MetaData for this message, if it is required as part of the initial message imprint calculation.
| |
| initialize | back to summary |
|---|---|
| private void initialize(ContentInfoParser contentInfo) throws CMSException | |
| parseTimeStamps | back to summary |
|---|---|
| private void parseTimeStamps() throws CMSException | |
| validate | back to summary |
|---|---|
| public void validate(DigestCalculatorProvider calculatorProvider, byte[] dataDigest) throws ImprintDigestInvalidException, CMSException Validate the digests present in the TimeStampTokens contained in the CMSTimeStampedData.
| |
| validate | back to summary |
|---|---|
| public void validate(DigestCalculatorProvider calculatorProvider, byte[] dataDigest, TimeStampToken timeStampToken) throws ImprintDigestInvalidException, CMSException Validate the passed in timestamp token against the tokens and data present in the message.
| |