| Modifier and Type | Field and Description |
|---|---|
| private final ArchiveTimeStamp | |
| private final DigestCalculator | |
| private final byte[] | |
| private ERSRootNodeCalculator | |
| private final TimeStampToken |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv | |
| pack-priv | ERSArchiveTimeStamp(byte[] previousChainsDigest, ArchiveTimeStamp archiveTimeStamp, DigestCalculatorProvider digCalcProv)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| public static ERSArchiveTimeStamp | Returns: an ERSArchiveTimeStamp containing the time stamp.the TimeStampToken in the regular time stamp. tspToken, DigestCalculatorProvider a digest calculator provider for use with the time stamp. digCalcProv)Build an ArchiveTimeStamp from a regular time stamp token. |
| public AlgorithmIdentifier | |
| public byte[] | |
| public Date | Returns: the issuing TSP server not-after date, or null if not present.Return the not-after date for the time-stamp's signing certificate if it is present. |
| public Date | Returns: the time the associated time-stamp was created.Return the generation time of the time-stamp associated with this archive time stamp. |
| public X509CertificateHolder | Returns: the TimeStamp signing certificate.Return the TimeStamp signing certificate if it is present. |
| public TimeStampToken | |
| public boolean | |
| public ArchiveTimeStamp | |
| public void | validate(SignerInformationVerifier
signer verifier for the contained time stamp. verifier)Validate the time stamp associated with this ArchiveTimeStamp. |
| public void | |
| public void |
| archiveTimeStamp | back to summary |
|---|---|
| private final ArchiveTimeStamp archiveTimeStamp | |
| digCalc | back to summary |
|---|---|
| private final DigestCalculator digCalc | |
| previousChainsDigest | back to summary |
|---|---|
| private final byte[] previousChainsDigest | |
| rootNodeCalculator | back to summary |
|---|---|
| private ERSRootNodeCalculator rootNodeCalculator | |
| timeStampToken | back to summary |
|---|---|
| private final TimeStampToken timeStampToken | |
| ERSArchiveTimeStamp | back to summary |
|---|---|
| public ERSArchiveTimeStamp(byte[] archiveTimeStamp, DigestCalculatorProvider digCalcProv) throws TSPException, ERSException | |
| ERSArchiveTimeStamp | back to summary |
|---|---|
| public ERSArchiveTimeStamp(ArchiveTimeStamp archiveTimeStamp, DigestCalculatorProvider digCalcProv) throws TSPException, ERSException | |
| ERSArchiveTimeStamp | back to summary |
|---|---|
| pack-priv ERSArchiveTimeStamp(ArchiveTimeStamp archiveTimeStamp, DigestCalculator digCalc) throws TSPException, ERSException | |
| ERSArchiveTimeStamp | back to summary |
|---|---|
| pack-priv ERSArchiveTimeStamp(byte[] previousChainsDigest, ArchiveTimeStamp archiveTimeStamp, DigestCalculatorProvider digCalcProv) throws TSPException, ERSException | |
| checkContainsHashValue | back to summary |
|---|---|
| pack-priv void checkContainsHashValue(boolean isGroup, final byte[] hash, final DigestCalculator digCalc) throws ArchiveTimeStampValidationException | |
| checkTimeStampValid | back to summary |
|---|---|
| pack-priv void checkTimeStampValid(final TimeStampToken timeStampToken, final byte[] hash) throws ArchiveTimeStampValidationException | |
| fromTimeStampToken | back to summary |
|---|---|
| public static ERSArchiveTimeStamp fromTimeStampToken(TimeStampToken tspToken, DigestCalculatorProvider digCalcProv) throws TSPException, ERSException Build an ArchiveTimeStamp from a regular time stamp token.
| |
| getDigestAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getDigestAlgorithmIdentifier() | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException return the ASN.1 encoded representation of this object. | |
| getExpiryTime | back to summary |
|---|---|
| public Date getExpiryTime() Return the not-after date for the time-stamp's signing certificate if it is present.
| |
| getGenTime | back to summary |
|---|---|
| public Date getGenTime() Return the generation time of the time-stamp associated with this archive time stamp.
| |
| getSigningCertificate | back to summary |
|---|---|
| public X509CertificateHolder getSigningCertificate() Return the TimeStamp signing certificate if it is present.
| |
| getTimeStampToken | back to summary |
|---|---|
| public TimeStampToken getTimeStampToken() | |
| isContaining | back to summary |
|---|---|
| public boolean isContaining(ERSData data, Date atDate) throws ERSException | |
| toASN1Structure | back to summary |
|---|---|
| public ArchiveTimeStamp toASN1Structure() | |
| validate | back to summary |
|---|---|
| public void validate(SignerInformationVerifier verifier) throws TSPException Validate the time stamp associated with this ArchiveTimeStamp.
| |
| validatePresent | back to summary |
|---|---|
| public void validatePresent(ERSData data, Date atDate) throws ERSException | |
| validatePresent | back to summary |
|---|---|
| public void validatePresent(boolean isDataGroup, byte[] hash, Date atDate) throws ERSException | |