Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DCodeSigner.java55 private Timestamp timestamp; field in CodeSigner
73 public CodeSigner(CertPath signerCertPath, Timestamp timestamp) { in CodeSigner() argument
78 this.timestamp = timestamp; in CodeSigner()
96 return timestamp; in getTimestamp()
108 if (timestamp == null) { in hashCode()
111 myhash = signerCertPath.hashCode() + timestamp.hashCode(); in hashCode()
137 if (timestamp == null) { in equals()
143 (! timestamp.equals(thatTimestamp))) { in equals()
160 if (timestamp != null) { in toString()
161 sb.append("timestamp: " + timestamp); in toString()
DTimestamp.java54 private Date timestamp; field in Timestamp
75 public Timestamp(Date timestamp, CertPath signerCertPath) { in Timestamp() argument
76 if (timestamp == null || signerCertPath == null) { in Timestamp()
79 this.timestamp = new Date(timestamp.getTime()); // clone in Timestamp()
89 return new Date(timestamp.getTime()); // clone in getTimestamp()
110 myhash = timestamp.hashCode() + signerCertPath.hashCode(); in hashCode()
133 return (timestamp.equals(that.getTimestamp()) && in equals()
146 sb.append("timestamp: " + timestamp); in toString()
162 timestamp = new Date(timestamp.getTime()); in readObject()
/libcore/ojluni/src/main/java/java/io/
DExpiringCache.java45 private long timestamp; field in ExpiringCache.Entry
48 Entry(long timestamp, String val) { in Entry() argument
49 this.timestamp = timestamp; in Entry()
53 long timestamp() { return timestamp; } in timestamp() method in ExpiringCache.Entry
54 void setTimestamp(long timestamp) { this.timestamp = timestamp; } in setTimestamp() argument
110 long delta = System.currentTimeMillis() - entry.timestamp(); in entryFor()
/libcore/ojluni/src/main/java/java/lang/ref/
DSoftReference.java80 private long timestamp; field in SoftReference
90 this.timestamp = clock; in SoftReference()
104 this.timestamp = clock; in SoftReference()
117 if (o != null && this.timestamp != clock) in get()
118 this.timestamp = clock; in get()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DUUIDTest.java35 assertEquals(0x1d07decf81d4faeL, uuid.timestamp()); in test_ConstructorJJ()
36 assertEquals(130742845922168750L, uuid.timestamp()); in test_ConstructorJJ()
121 assertEquals(0x0, uuid.timestamp()); in test_timestamp()
124 assertEquals(0x333555577777777L, uuid.timestamp()); in test_timestamp()
128 uuid.timestamp(); in test_timestamp()
134 uuid.timestamp(); in test_timestamp()
314 assertEquals(130742845922168750L, actual.timestamp()); in test_fromString()
324 assertEquals(0L, actual.timestamp()); in test_fromString()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DTimestampTest.java59 Timestamp timestamp = new Timestamp(now, cpath); in testTimestamp() local
60 assertEquals("not expected value", now, timestamp.getTimestamp()); in testTimestamp()
61 assertEquals("not expected cert path", cpath, timestamp.getSignerCertPath()); in testTimestamp()
/libcore/luni/src/test/java/libcore/java/sql/
DTimestampTest.java149 Timestamp timestamp = new Timestamp(0); in testAsymmetricEquals() local
152 assertTrue(date.equals(timestamp)); in testAsymmetricEquals()
153 assertFalse(timestamp.equals(date)); in testAsymmetricEquals()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DSignerInfo.java54 import sun.security.timestamp.TimestampToken;
91 Timestamp timestamp; field in SignerInfo
586 if (timestamp != null || !hasTimestamp) in getTimestamp()
587 return timestamp; in getTimestamp()
609 timestamp = new Timestamp(tsTokenInfo.getDate(), tsaChain); in getTimestamp()
610 return timestamp; in getTimestamp()
DPKCS7.java44 import sun.security.timestamp.*;
/libcore/ojluni/annotations/hiddenapi/sun/security/timestamp/
DTimestampToken.java26 package sun.security.timestamp;
/libcore/ojluni/annotations/hiddenapi/java/util/
DUUID.java69 public long timestamp() { in timestamp() method in UUID
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DSignerInfo.java151 private void verifyTimestamp(sun.security.timestamp.TimestampToken token) in verifyTimestamp()
192 java.security.Timestamp timestamp; field in SignerInfo
DPKCS7.java32 import sun.security.timestamp.*;
/libcore/ojluni/src/main/java/sun/security/timestamp/
DTimestampToken.java26 package sun.security.timestamp;
/libcore/ojluni/src/main/java/java/util/
DUUID.java291 public long timestamp() { in timestamp() method in UUID
/libcore/luni/src/module/java/
Dmodule-info.java96 exports sun.security.timestamp;
/libcore/luni/src/main/java/libcore/net/
Dmime.types130 application/timestamp-query
131 application/timestamp-reply
/libcore/
Dopenjdk_java_files.bp1665 "ojluni/src/main/java/sun/security/timestamp/TimestampToken.java",