Searched refs:timestamp (Results 1 - 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/ref/
H A DSoftReference.java80 private long timestamp; field in class:SoftReference
90 this.timestamp = clock;
104 this.timestamp = clock;
117 if (o != null && this.timestamp != clock)
118 this.timestamp = clock;
/libcore/ojluni/src/main/java/java/security/
H A DCodeSigner.java51 * The signature timestamp.
55 private Timestamp timestamp; field in class:CodeSigner
67 * @param timestamp A signature timestamp.
68 * If <code>null</code> then no timestamp was generated
73 public CodeSigner(CertPath signerCertPath, Timestamp timestamp) { argument
78 this.timestamp = timestamp;
91 * Returns the signature timestamp.
93 * @return The timestamp o
[all...]
H A DTimestamp.java36 * This class encapsulates information about a signed timestamp.
38 * It includes the timestamp's date and time as well as information about the
39 * Timestamping Authority (TSA) which generated and signed the timestamp.
50 * The timestamp's date and time
54 private Date timestamp; field in class:Timestamp
64 * Hash code for this timestamp.
71 * @param timestamp is the timestamp's date and time. It must not be null.
73 * @throws NullPointerException if timestamp or signerCertPath is null.
75 public Timestamp(Date timestamp, CertPat argument
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DExpiringCache.java45 private long timestamp; field in class:ExpiringCache.Entry
48 Entry(long timestamp, String val) { argument
49 this.timestamp = timestamp;
53 long timestamp() { return timestamp; } method in class:ExpiringCache.Entry
54 void setTimestamp(long timestamp) { this.timestamp = timestamp; } argument
104 long delta = System.currentTimeMillis() - entry.timestamp();
[all...]
/libcore/luni/src/test/java/libcore/java/sql/
H A DTimestampTest.java149 Timestamp timestamp = new Timestamp(0);
152 assertTrue(date.equals(timestamp));
153 assertFalse(timestamp.equals(date));
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DTimestampTest.java59 Timestamp timestamp = new Timestamp(now, cpath);
60 assertEquals("not expected value", now, timestamp.getTimestamp());
61 assertEquals("not expected cert path", cpath, timestamp.getSignerCertPath());
/libcore/ojluni/src/main/java/sun/net/www/
H A DMimeLauncher.java69 // Replace all but last occurrance of "%s" with timestamp to insure
81 long timestamp = System.currentTimeMillis()/1000;
85 + timestamp
103 tempFilename = prefix + filename + timestamp + extension + suffix;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DUUIDTest.java35 assertEquals(0x1d07decf81d4faeL, uuid.timestamp());
36 assertEquals(130742845922168750L, uuid.timestamp());
117 * @see UUID#timestamp()
121 assertEquals(0x0, uuid.timestamp());
124 assertEquals(0x333555577777777L, uuid.timestamp());
128 uuid.timestamp();
134 uuid.timestamp();
314 assertEquals(130742845922168750L, actual.timestamp());
324 assertEquals(0L, actual.timestamp());
/libcore/ojluni/src/main/java/sun/security/timestamp/
H A DTimestampToken.java26 package sun.security.timestamp;
36 * This class provides the timestamp token info resulting from a successful
37 * timestamp request, as defined in
84 * Constructs an object to store a timestamp token.
91 throw new IOException("No timestamp token info");
97 * Extract the date and time from the timestamp token.
99 * @return The date and time when the timestamp was generated.
123 * Parses the timestamp token info.
134 throw new IOException("Bad encoding for timestamp token info");
/libcore/ojluni/src/main/java/java/util/
H A DUUID.java276 * The timestamp value associated with this UUID.
278 * <p> The 60 bit timestamp value is constructed from the time_low,
280 * timestamp is measured in 100-nanosecond units since midnight,
283 * <p> The timestamp value is only meaningful in a time-based UUID, which
290 public long timestamp() { method in class:UUID
/libcore/ojluni/src/main/java/sun/security/util/
H A DSignatureFileVerifier.java38 import sun.security.timestamp.TimestampToken;
504 * Examines a signature timestamp token to generate a timestamp object.
509 * timestamp was generated.
513 * @return A timestamp token or null if none is present.
527 Timestamp timestamp = null;
537 // Extract the content (an encoded timestamp token info)
548 // Create a timestamp token info object
551 // Check that the signature timestamp applies to this signature
553 // Create a timestamp objec
[all...]
/libcore/
H A DJavaLibrary.mk406 # rm -rf ../out/target/common/docs/libcore-timestamp && mm -j32 libcore-docs
H A Dopenjdk_java_files.mk1367 ojluni/src/main/java/sun/security/timestamp/TimestampToken.java \

Completed in 444 milliseconds