Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cloudflare/cloudflared
/ DecodeOriginCert
Function
DecodeOriginCert
credentials/origin_cert.go:58–60 ·
view source on GitHub ↗
(blocks []byte)
Source
from the content-addressed store, hash-verified
56
}
57
58
func
DecodeOriginCert(blocks []byte) (*OriginCert, error) {
59
return
decodeOriginCert(blocks)
60
}
61
62
func
(cert *OriginCert) EncodeOriginCert() ([]byte, error) {
63
if
cert == nil {
Callers
2
login
Function · 0.92
TestEncodeDecodeOriginCert
Function · 0.85
Calls
1
decodeOriginCert
Function · 0.85
Tested by
1
TestEncodeDecodeOriginCert
Function · 0.68