Documentation
¶
Overview ¶
Package pem wraps encoding/pem as a codec.Codec implementation. PEM is block-structured: each wire message is a typed block ("CERTIFICATE", "PRIVATE KEY", etc.), so the codec operates on *pem.Block values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //: register the singleton and expose it as a typed package var. Codec codec.Codec = codec.Register(&pemCodec{}) )
Package-level state: the codec singleton, MIME/extension tables, the cached promotion fast-path markers, and the Marshal-buffer pool.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.