| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv TimeStampToken. | |
| pack-priv SignerInformation | |
| pack-priv TimeStampTokenInfo | |
| pack-priv CMSSignedData |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Store | |
| public Store | |
| public Store | |
| public byte[] | |
| public byte[] | getEncoded(String
the ASN.1 encoding format to use ("BER", "DL", or "DER"). encoding)return the ASN.1 encoded representation of this object using the specified encoding. |
| public SignerId | |
| public AttributeTable | |
| private static CMSSignedData | |
| public TimeStampTokenInfo | |
| public AttributeTable | |
| public boolean | Returns: true if the signature matches, false otherwise.the content verifier create the objects required to verify the CMS object in the timestamp. sigVerifier)Return true if the signature on time stamp token is valid. |
| public CMSSignedData | |
| public void | validate(SignerInformationVerifier
the content verifier create the objects required to verify the CMS object in the timestamp. sigVerifier)Validate the time stamp token. |
| certID | back to summary |
|---|---|
| pack-priv TimeStampToken. | |
| tsaSignerInfo | back to summary |
|---|---|
| pack-priv SignerInformation tsaSignerInfo | |
| tstInfo | back to summary |
|---|---|
| pack-priv TimeStampTokenInfo tstInfo | |
| tsToken | back to summary |
|---|---|
| pack-priv CMSSignedData tsToken | |
| TimeStampToken | back to summary |
|---|---|
| public TimeStampToken(ContentInfo contentInfo) throws TSPException, IOException | |
| TimeStampToken | back to summary |
|---|---|
| public TimeStampToken(CMSSignedData signedData) throws TSPException, IOException | |
| getAttributeCertificates | back to summary |
|---|---|
| public Store | |
| getCertificates | back to summary |
|---|---|
| public Store | |
| getCRLs | back to summary |
|---|---|
| public Store | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Return a ASN.1 encoded byte stream representing the encoded object.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded(String encoding) throws IOException return the ASN.1 encoded representation of this object using the specified encoding.
| |
| getSID | back to summary |
|---|---|
| public SignerId getSID() | |
| getSignedAttributes | back to summary |
|---|---|
| public AttributeTable getSignedAttributes() | |
| getSignedData | back to summary |
|---|---|
| private static CMSSignedData getSignedData(ContentInfo contentInfo) throws TSPException | |
| getTimeStampInfo | back to summary |
|---|---|
| public TimeStampTokenInfo getTimeStampInfo() | |
| getUnsignedAttributes | back to summary |
|---|---|
| public AttributeTable getUnsignedAttributes() | |
| isSignatureValid | back to summary |
|---|---|
| public boolean isSignatureValid(SignerInformationVerifier sigVerifier) throws TSPException Return true if the signature on time stamp token is valid. Note this is a much weaker proof of correctness than calling validate().
| |
| toCMSSignedData | back to summary |
|---|---|
| public CMSSignedData toCMSSignedData() Return the underlying CMSSignedData object.
| |
| validate | back to summary |
|---|---|
| public void validate(SignerInformationVerifier sigVerifier) throws TSPException, TSPValidationException Validate the time stamp token. To be valid the token must be signed by the passed in certificate and the certificate must be the one referred to by the SigningCertificate attribute included in the hashed attributes of the token. The certificate must also have the ExtendedKeyUsageExtension with only KeyPurposeId.id_kp_timeStamping and have been valid at the time the timestamp was created. A successful call to validate means all the above are true.
| |
| Modifier and Type | Field and Description |
|---|---|
| private ESSCertID | |
| private ESSCertIDv2 |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public AlgorithmIdentifier | |
| public IssuerSerial |
| certID | back to summary |
|---|---|
| private ESSCertID certID | |
| certIDv2 | back to summary |
|---|---|
| private ESSCertIDv2 certIDv2 | |
| CertID | back to summary |
|---|---|
| pack-priv CertID(ESSCertID certID) | |
| CertID | back to summary |
|---|---|
| pack-priv CertID(ESSCertIDv2 certID) | |
| getCertHash | back to summary |
|---|---|
| public byte[] getCertHash() | |
| getHashAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getHashAlgorithm() | |
| getIssuerSerial | back to summary |
|---|---|
| public IssuerSerial getIssuerSerial() | |