MCPcopy
hub / github.com/grpc/grpc-go / checkRevocation

Function checkRevocation

security/advancedtls/crl_test.go:264–266  ·  view source on GitHub ↗
(conn tls.ConnectionState, cfg RevocationOptions)

Source from the content-addressed store, hash-verified

262}
263
264func checkRevocation(conn tls.ConnectionState, cfg RevocationOptions) error {
265 return checkChainRevocation(conn.VerifiedChains, cfg)
266}
267
268func TestVerifyCrl(t *testing.T) {
269 tamperedSignature := loadCRL(t, testdata.Path("crl/1.crl"))

Callers 2

TestRevokedCertFunction · 0.85
TestVerifyConnectionFunction · 0.85

Calls 1

checkChainRevocationFunction · 0.85

Tested by

no test coverage detected