Home
last modified time | relevance | path

Searched refs:sct (Results 1 – 13 of 13) sorted by relevance

/external/conscrypt/src/test/java/org/conscrypt/ct/
DSerializationTest.java37 SignedCertificateTimestamp sct in test_decode_SignedCertificateTimestamp() local
40 assertEquals(SignedCertificateTimestamp.Version.V1, sct.getVersion()); in test_decode_SignedCertificateTimestamp()
41 assertEquals(0x0102030405060708L, sct.getTimestamp()); in test_decode_SignedCertificateTimestamp()
42 assertEquals(0, sct.getExtensions().length); in test_decode_SignedCertificateTimestamp()
44 sct.getSignature().getHashAlgorithm()); in test_decode_SignedCertificateTimestamp()
46 sct.getSignature().getSignatureAlgorithm()); in test_decode_SignedCertificateTimestamp()
48 sct.getSignature().getSignature())); in test_decode_SignedCertificateTimestamp()
49 assertEquals(SignedCertificateTimestamp.Origin.EMBEDDED, sct.getOrigin()); in test_decode_SignedCertificateTimestamp()
53 byte[] sct = new byte[] { in test_decode_invalid_SignedCertificateTimestamp()
66 SignedCertificateTimestamp.decode(sct, SignedCertificateTimestamp.Origin.EMBEDDED); in test_decode_invalid_SignedCertificateTimestamp()
[all …]
DCTVerifierTest.java173 result.getValidSCTs().get(0).sct.getOrigin()); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
175 result.getInvalidSCTs().get(0).sct.getOrigin()); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
/external/conscrypt/src/main/java/org/conscrypt/ct/
DCTVerifier.java90 for (SignedCertificateTimestamp sct: scts) { in verifyEmbeddedSCTs()
91 VerifiedSCT.Status status = verifySingleSCT(sct, precertEntry); in verifyEmbeddedSCTs()
92 result.add(new VerifiedSCT(sct, status)); in verifyEmbeddedSCTs()
117 for (SignedCertificateTimestamp sct: scts) { in verifyExternalSCTs()
118 VerifiedSCT.Status status = verifySingleSCT(sct, x509Entry); in verifyExternalSCTs()
119 result.add(new VerifiedSCT(sct, status)); in verifyExternalSCTs()
126 private VerifiedSCT.Status verifySingleSCT(SignedCertificateTimestamp sct, in verifySingleSCT() argument
128 CTLogInfo log = store.getKnownLog(sct.getLogID()); in verifySingleSCT()
133 return log.verifySingleSCT(sct, certEntry); in verifySingleSCT()
141 for (SignedCertificateTimestamp sct: scts) { in markSCTsAsInvalid()
[all …]
DVerifiedSCT.java30 public final SignedCertificateTimestamp sct; field in VerifiedSCT
33 public VerifiedSCT(SignedCertificateTimestamp sct, Status status) { in VerifiedSCT() argument
34 this.sct = sct; in VerifiedSCT()
DCTLogInfo.java103 public VerifiedSCT.Status verifySingleSCT(SignedCertificateTimestamp sct, in verifySingleSCT() argument
105 if (!Arrays.equals(sct.getLogID(), getID())) { in verifySingleSCT()
111 toVerify = sct.encodeTBS(entry); in verifySingleSCT()
118 String algorithm = sct.getSignature().getAlgorithm(); in verifySingleSCT()
132 if (!signature.verify(sct.getSignature().getSignature())) { in verifySingleSCT()
/external/conscrypt/src/test/resources/
DREADME25 - ocsp-response-sct-extension.der: The extension from ocsp-response.der which contains the SCT
/external/libvncserver/libvncclient/
Drfbproto.c2218 msg.sct.length = rfbClientSwap32IfLE(msg.sct.length); in HandleRFBServerMessage()
2220 buffer = malloc(msg.sct.length+1); in HandleRFBServerMessage()
2222 if (!ReadFromRFBServer(client, buffer, msg.sct.length)) in HandleRFBServerMessage()
2225 buffer[msg.sct.length] = 0; in HandleRFBServerMessage()
2228 client->GotXCutText(client, buffer, msg.sct.length); in HandleRFBServerMessage()
2241 msg.tc.length = rfbClientSwap32IfLE(msg.sct.length); in HandleRFBServerMessage()
/external/libvncserver/rfb/
Drfbproto.h1203 rfbServerCutTextMsg sct; member
/external/libvncserver/libvncserver/
Drfbserver.c3491 rfbServerCutTextMsg sct; in rfbSendServerCutText() local
3496 sct.type = rfbServerCutText; in rfbSendServerCutText()
3497 sct.length = Swap32IfLE(len); in rfbSendServerCutText()
3499 if (rfbWriteExact(cl, (char *)&sct, in rfbSendServerCutText()
/external/libxml2/
DMakefile.am1082 -@(for i in $(srcdir)/test/schematron/*.sct ; do \
DChangeLog3515 * Makefile.am result/schematron/* test/schematron/zvon1*.sct:
/external/libvncserver/
DChangeLog81 msg.sct.length It looks like there may be a chance for potential memory corruption
83 …z_rfbServerCutTextMsg - 1)) return FALSE; msg.sct.length = rfbClientSwap32IfLE(msg.sct.l…
84 Retrieve malicious length buffer = malloc(msg.sct.length+1); << Allocate buffer. Can
85 return 0x0 if (!ReadFromRFBServer(client, buffer, msg.sct.length)) <<
86 … buffer[msg.sct.length] = 0; << Attempt to write to buffer if (client->GotXCutText) cl…
/external/e2fsprogs/
DRELEASE-NOTES6142 Added build-rpm script from sct.