Home
last modified time | relevance | path

Searched refs:VerifiedSCT (Results 1 – 12 of 12) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DCTVerificationResult.java26 private final ArrayList<VerifiedSCT> validSCTs = new ArrayList<VerifiedSCT>();
27 private final ArrayList<VerifiedSCT> invalidSCTs = new ArrayList<VerifiedSCT>();
29 public void add(VerifiedSCT result) { in add()
30 if (result.status == VerifiedSCT.Status.VALID) { in add()
37 public List<VerifiedSCT> getValidSCTs() { in getValidSCTs()
41 public List<VerifiedSCT> getInvalidSCTs() { in getInvalidSCTs()
DCTLogInfo.java105 public VerifiedSCT.Status verifySingleSCT(SignedCertificateTimestamp sct, in verifySingleSCT()
108 return VerifiedSCT.Status.UNKNOWN_LOG; in verifySingleSCT()
115 return VerifiedSCT.Status.INVALID_SCT; in verifySingleSCT()
123 return VerifiedSCT.Status.INVALID_SCT; in verifySingleSCT()
129 return VerifiedSCT.Status.INVALID_SCT; in verifySingleSCT()
135 return VerifiedSCT.Status.INVALID_SIGNATURE; in verifySingleSCT()
137 return VerifiedSCT.Status.VALID; in verifySingleSCT()
DCTVerifier.java103 VerifiedSCT.Status status = verifySingleSCT(sct, precertEntry); in verifyEmbeddedSCTs()
104 result.add(new VerifiedSCT(sct, status)); in verifyEmbeddedSCTs()
130 VerifiedSCT.Status status = verifySingleSCT(sct, x509Entry); in verifyExternalSCTs()
131 result.add(new VerifiedSCT(sct, status)); in verifyExternalSCTs()
138 private VerifiedSCT.Status verifySingleSCT(SignedCertificateTimestamp sct, in verifySingleSCT()
142 return VerifiedSCT.Status.UNKNOWN_LOG; in verifySingleSCT()
154 result.add(new VerifiedSCT(sct, VerifiedSCT.Status.INVALID_SCT)); in markSCTsAsInvalid()
DVerifiedSCT.java25 public final class VerifiedSCT { class
36 public VerifiedSCT(SignedCertificateTimestamp sct, Status status) { in VerifiedSCT() method in VerifiedSCT
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DCTVerificationResult.java30 private final ArrayList<VerifiedSCT> validSCTs = new ArrayList<VerifiedSCT>();
31 private final ArrayList<VerifiedSCT> invalidSCTs = new ArrayList<VerifiedSCT>();
33 public void add(VerifiedSCT result) { in add()
34 if (result.status == VerifiedSCT.Status.VALID) { in add()
41 public List<VerifiedSCT> getValidSCTs() { in getValidSCTs()
45 public List<VerifiedSCT> getInvalidSCTs() { in getInvalidSCTs()
DCTLogInfo.java107 public VerifiedSCT.Status verifySingleSCT(SignedCertificateTimestamp sct, in verifySingleSCT()
110 return VerifiedSCT.Status.UNKNOWN_LOG; in verifySingleSCT()
117 return VerifiedSCT.Status.INVALID_SCT; in verifySingleSCT()
125 return VerifiedSCT.Status.INVALID_SCT; in verifySingleSCT()
131 return VerifiedSCT.Status.INVALID_SCT; in verifySingleSCT()
137 return VerifiedSCT.Status.INVALID_SIGNATURE; in verifySingleSCT()
139 return VerifiedSCT.Status.VALID; in verifySingleSCT()
DCTVerifier.java107 VerifiedSCT.Status status = verifySingleSCT(sct, precertEntry); in verifyEmbeddedSCTs()
108 result.add(new VerifiedSCT(sct, status)); in verifyEmbeddedSCTs()
134 VerifiedSCT.Status status = verifySingleSCT(sct, x509Entry); in verifyExternalSCTs()
135 result.add(new VerifiedSCT(sct, status)); in verifyExternalSCTs()
142 private VerifiedSCT.Status verifySingleSCT(SignedCertificateTimestamp sct, in verifySingleSCT()
146 return VerifiedSCT.Status.UNKNOWN_LOG; in verifySingleSCT()
158 result.add(new VerifiedSCT(sct, VerifiedSCT.Status.INVALID_SCT)); in markSCTsAsInvalid()
DVerifiedSCT.java27 public final class VerifiedSCT { class
41 public VerifiedSCT(SignedCertificateTimestamp sct, Status status) { in VerifiedSCT() method in VerifiedSCT
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
DCTPolicyImpl.java38 for (VerifiedSCT verifiedSCT: result.getValidSCTs()) { in doesResultConformToPolicy()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ct/
DCTVerifierTest.java119 assertEquals(VerifiedSCT.Status.INVALID_SIGNATURE, in test_verifySignedCertificateTimestamps_withInvalidSignature()
133 assertEquals(VerifiedSCT.Status.UNKNOWN_LOG, in test_verifySignedCertificateTimestamps_withUnknownLog()
/external/conscrypt/common/src/test/java/org/conscrypt/ct/
DCTVerifierTest.java115 assertEquals(VerifiedSCT.Status.INVALID_SIGNATURE, in test_verifySignedCertificateTimestamps_withInvalidSignature()
129 assertEquals(VerifiedSCT.Status.UNKNOWN_LOG, in test_verifySignedCertificateTimestamps_withUnknownLog()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/ct/
DCTPolicyImpl.java42 for (VerifiedSCT verifiedSCT: result.getValidSCTs()) { in doesResultConformToPolicy()