Timestamp


Timestamp java.security

Java 5.0 serializable

An instance of this class is an immutable signed timestamp. getTimestamp( ) returns the timestamp as a java.util.Date . getSignerCertPath( ) returns the certificate path of the Timestamping Authority (TSA) that signed the object. Timestamp objects are used by the CodeSigner class.

Figure 14-43. java.security.Timestamp

 public final class  Timestamp  implements Serializable {  // Public Constructors  public  Timestamp  (java.util.Date  timestamp  ,          java.security.cert.CertPath  signerCertPath  );  // Public Instance Methods  public java.security.cert.CertPath  getSignerCertPath  ( );        public java.util.Date  getTimestamp  ( );  // Public Methods Overriding Object  public boolean  equals  (Object  obj  );        public int  hashCode  ( );        public String  toString  ( );   } 

Passed To

CodeSigner.CodeSigner( )

Returned By

CodeSigner.getTimestamp( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net