public final class Timestamp extends Object implements Serializable
public Timestamp(Date timestamp, CertPath signerCertPath)
timestamp
- 是时间戳的日期和时间。
它不能为空。
signerCertPath
- 是TSA的证书路径。
它不能为空。
NullPointerException
- 如果timestamp或signerCertPath为空。
public Date getTimestamp()
public CertPath getSignerCertPath()
public int hashCode()
hashCode
在
Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public boolean equals(Object obj)
equals
在
Object
obj
- 用于测试与此时间戳相等的对象。
Object.hashCode()
, HashMap
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.