| Modifier and Type | Field and Description |
|---|---|
| private ContentInfo | |
| private TimeStampedData | |
| private TimeStampDataUtil |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CMSTimeStampedData | addTimeStamp(TimeStampToken token)
Return a new timeStampedData object with the additional token attached. |
| public byte[] | |
| public byte[] | |
| public URI | |
| public byte[] | |
| 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 | |
| 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. |
| contentInfo | back to summary |
|---|---|
| private ContentInfo contentInfo | |
| timeStampedData | back to summary |
|---|---|
| private TimeStampedData timeStampedData | |
| util | back to summary |
|---|---|
| private TimeStampDataUtil util | |
| CMSTimeStampedData | back to summary |
|---|---|
| public CMSTimeStampedData(ContentInfo contentInfo) | |
| CMSTimeStampedData | back to summary |
|---|---|
| public CMSTimeStampedData(InputStream in) throws IOException | |
| CMSTimeStampedData | back to summary |
|---|---|
| public CMSTimeStampedData(byte[] baseData) throws IOException | |
| addTimeStamp | back to summary |
|---|---|
| public CMSTimeStampedData addTimeStamp(TimeStampToken token) throws CMSException Return a new timeStampedData object with the additional token attached. | |
| calculateNextHash | back to summary |
|---|---|
| public byte[] calculateNextHash(DigestCalculator calculator) throws CMSException | |
| getContent | back to summary |
|---|---|
| public byte[] getContent() | |
| getDataUri | back to summary |
|---|---|
| public URI getDataUri() throws URISyntaxException | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException | |
| 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(ContentInfo contentInfo) | |
| 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.
| |