| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| public void | setDataUri(URI
URI for the data the initial message imprint digest is based on. dataUri)Set the dataURI to be included in message. |
| public void | setMetaData(boolean
true if the MetaData should be included in first imprint calculation, false otherwise. hashProtected, String optional file name, may be null. fileName, String optional media type, may be null. mediaType)Set the MetaData for the generated message. |
| public void | setMetaData(boolean
true if the MetaData should be included in first imprint calculation, false otherwise. hashProtected, String optional file name, may be null. fileName, String optional media type, may be null. mediaType, Attributes optional attributes, may be null. attributes)Set the MetaData for the generated message. |
| private void | setMetaData(boolean hashProtected, ASN1UTF8String fileName, ASN1IA5String mediaType, Attributes attributes)
|
| dataUri | back to summary |
|---|---|
| protected URI dataUri | |
| metaData | back to summary |
|---|---|
| protected MetaData metaData | |
| CMSTimeStampedGenerator | back to summary |
|---|---|
| public CMSTimeStampedGenerator() | |
| 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. After initialisation the calculator can then be used to calculate the initial message imprint digest for the first timestamp.
| |
| setDataUri | back to summary |
|---|---|
| public void setDataUri(URI dataUri) Set the dataURI to be included in message.
| |
| setMetaData | back to summary |
|---|---|
| public void setMetaData(boolean hashProtected, String fileName, String mediaType) Set the MetaData for the generated message. | |
| setMetaData | back to summary |
|---|---|
| public void setMetaData(boolean hashProtected, String fileName, String mediaType, Attributes attributes) Set the MetaData for the generated message.
| |
| setMetaData | back to summary |
|---|---|
| private void setMetaData(boolean hashProtected, ASN1UTF8String fileName, ASN1IA5String mediaType, Attributes attributes) | |