Home
last modified time | relevance | path

Searched refs:ocspResponse (Results 1 – 19 of 19) sorted by relevance

/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ct/
DCTVerifierTest.java71 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_verifySignedCertificateTimestamps_withOCSPResponse()
73 ctVerifier.verifySignedCertificateTimestamps(chain, null, ocspResponse); in test_verifySignedCertificateTimestamps_withOCSPResponse()
155 byte[] ocspResponse = new byte[] { 1, 2, 3, 4 }; in test_verifySignedCertificateTimestamps_withInvalidOCSPResponse()
158 ctVerifier.verifySignedCertificateTimestamps(chain, null, ocspResponse); in test_verifySignedCertificateTimestamps_withInvalidOCSPResponse()
168 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
171 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, ocspResponse); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
/external/conscrypt/common/src/test/java/org/conscrypt/ct/
DCTVerifierTest.java67 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_verifySignedCertificateTimestamps_withOCSPResponse()
69 ctVerifier.verifySignedCertificateTimestamps(chain, null, ocspResponse); in test_verifySignedCertificateTimestamps_withOCSPResponse()
151 byte[] ocspResponse = new byte[] { 1, 2, 3, 4 }; in test_verifySignedCertificateTimestamps_withInvalidOCSPResponse()
154 ctVerifier.verifySignedCertificateTimestamps(chain, null, ocspResponse); in test_verifySignedCertificateTimestamps_withInvalidOCSPResponse()
164 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
167 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, ocspResponse); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
/external/python/pyasn1-modules/tools/
Docspclient.py99 def parseOcspResponse(ocspResponse): argument
100 responseStatus = ocspResponse.getComponentByName('responseStatus')
102 responseBytes = ocspResponse.getComponentByName('responseBytes')
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DSSLParametersImpl.java102 byte[] ocspResponse; field in SSLParametersImpl
186 this.ocspResponse = in SSLParametersImpl()
187 (sslParams.ocspResponse == null) ? null : sslParams.ocspResponse.clone(); in SSLParametersImpl()
426 ocspResponse = response; in setOCSPResponse()
430 return ocspResponse; in getOCSPResponse()
DNativeSsl.java336 if (parameters.ocspResponse != null) { in initialize()
337 NativeCrypto.SSL_set_ocsp_response(ssl, this, parameters.ocspResponse); in initialize()
DNativeCrypto.java1377 …byte[] ocspResponse, String oid, long x509Ref, OpenSSLX509Certificate holder, long issuerX509Ref, … in get_ocsp_single_extension() argument
/external/conscrypt/common/src/main/java/org/conscrypt/
DSSLParametersImpl.java101 byte[] ocspResponse; field in SSLParametersImpl
186 this.ocspResponse = in SSLParametersImpl()
187 (sslParams.ocspResponse == null) ? null : sslParams.ocspResponse.clone(); in SSLParametersImpl()
422 ocspResponse = response; in setOCSPResponse()
426 return ocspResponse; in getOCSPResponse()
DNativeSsl.java335 if (parameters.ocspResponse != null) { in initialize()
336 NativeCrypto.SSL_set_ocsp_response(ssl, this, parameters.ocspResponse); in initialize()
DNativeCrypto.java1336 …byte[] ocspResponse, String oid, long x509Ref, OpenSSLX509Certificate holder, long issuerX509Ref, … in get_ocsp_single_extension() argument
/external/boringssl/src/ssl/test/runner/
Dhandshake_client.go963 c.ocspResponse = hs.session.ocspResponse
1041 if c.config.Bugs.NoOCSPStapling && cert.ocspResponse != nil {
1049 …if i > 0 && c.config.Bugs.ExpectNoExtensionsOnIntermediate && (cert.ocspResponse != nil || cert.sc…
1058 c.ocspResponse = certMsg.certificates[0].ocspResponse
1323 c.ocspResponse = cs.response
1841 c.ocspResponse = hs.session.ocspResponse
1898 ocspResponse: c.ocspResponse,
Dconn.go46 ocspResponse []byte // stapled OCSP response member
1630 ocspResponse: c.ocspResponse,
1890 state.OCSPResponse = c.ocspResponse
Dhandshake_messages.go1846 ocspResponse []byte member
1894 if cert.ocspResponse != nil {
1899 response.addBytes(cert.ocspResponse)
1953 !body.readU24LengthPrefixedBytes(&cert.ocspResponse) ||
Dcommon.go297 ocspResponse []byte member
Dhandshake_server.go906 cert.ocspResponse = hs.cert.OCSPStaple
915 cert.ocspResponse = config.Bugs.SendOCSPOnIntermediates
1122 if cert.ocspResponse != nil || cert.sctList != nil {
Drunner.go524 ocspResponse []uint8 member
920 …if expectations.ocspResponse != nil && !bytes.Equal(expectations.ocspResponse, connState.OCSPRespo…
921 …orf("OCSP Response mismatch: got %x, wanted %x", connState.OCSPResponse, expectations.ocspResponse)
5126 ocspResponse: testOCSPResponse,
5201 ocspResponse: testOCSPResponse,
5222 ocspResponse: []byte{},
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptSocketTest.java346 byte[] ocspResponse; field in ConscryptSocketTest.ServerHooks
355 sslParameters.setOCSPResponse(ocspResponse); in createContext()
568 connection.serverHooks.ocspResponse = readTestFile("ocsp-response.der");
DNativeCryptoTest.java3065 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_get_ocsp_single_extension()
3073ocspResponse, OCSP_SCT_LIST_OID, certificate.getContext(), certificate, issuer.getContext(), issue… in test_get_ocsp_single_extension()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptSocketTest.java337 byte[] ocspResponse; field in ConscryptSocketTest.ServerHooks
346 sslParameters.setOCSPResponse(ocspResponse); in createContext()
557 connection.serverHooks.ocspResponse = readTestFile("ocsp-response.der");
DNativeCryptoTest.java3056 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_get_ocsp_single_extension()
3064ocspResponse, OCSP_SCT_LIST_OID, certificate.getContext(), certificate, issuer.getContext(), issue… in test_get_ocsp_single_extension()