MCPcopy
hub / github.com/golang/crypto / MarshalingValue

Interface MarshalingValue

cryptobyte/builder.go:335–340  ·  view source on GitHub ↗

A MarshalingValue marshals itself into a Builder.

Source from the content-addressed store, hash-verified

333
334// A MarshalingValue marshals itself into a Builder.
335type MarshalingValue interface {
336 // Marshal is called by Builder.AddValue. It receives a pointer to a builder
337 // to marshal itself into. It may return an error that occurred during
338 // marshaling, such as unset or invalid values.
339 Marshal(b *Builder) error
340}
341
342// AddValue calls Marshal on v, passing a pointer to the builder to append to.
343// If Marshal returns an error, it is set on the Builder so that subsequent

Callers 2

MarshalASN1Method · 0.65
AddValueMethod · 0.65

Implementers 8

skECDSAPublicKeyssh/keys.go
Certificatessh/certs.go
Keyssh/agent/client.go
Requestocsp/ocsp.go
G1bn256/bn256.go
G2bn256/bn256.go
GTbn256/bn256.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…