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} 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
110 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/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.
127 * Parses the timestamp token info.
138 throw new IOException("Bad encoding for timestamp token info");
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DSignerInfo.java54 import sun.security.timestamp.TimestampToken;
91 Timestamp timestamp; field in class:SignerInfo
543 * Returns the timestamp PKCS7 data unverified.
560 * Extracts a timestamp from a PKCS7 SignerInfo.
565 * timestamp was generated.
569 * @return A timestamp token or null if none is present.
583 if (timestamp != null || !hasTimestamp)
584 return timestamp;
592 // Extract the content (an encoded timestamp token info)
601 // Create a timestamp toke
[all...]
H A DPKCS7.java44 import sun.security.timestamp.*;
1014 * signature timestamp.
1022 * timestamp is requested
1033 * generating the signature timestamp or while generating the signed
1046 // Generate the timestamp token
1054 // Insert the timestamp token into the PKCS #7 signer info element
1090 * Requests, processes and validates a timestamp token from a TSA using
1091 * common defaults. Uses the following defaults in the timestamp request:
1100 * @return the encoded timestamp token
1114 // Generate a timestamp
[all...]
/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
289 * @return The timestamp of this {@code UUID}.
291 public long timestamp() { method in class:UUID
/libcore/luni/src/module/java/
H A Dmodule-info.java96 exports sun.security.timestamp;
/libcore/
H A DJavaLibrary.mk94 ojluni_annotate_target := $(ojluni_annotate_dir)/timestamp
333 # rm -rf ../out/target/common/docs/libcore-timestamp && mm -j32 libcore-docs

Completed in 1777 milliseconds