Go stdlib package — encoding/pem. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Decode()NeutralDecode(data []byte) (*Block, []byte)
Decode will find the next PEM formatted block (certificate, private key
.Encode()NeutralEncode(out io.Writer, b *Block) error
Encode writes the PEM encoding of b to out.
.EncodeToMemory()NeutralEncodeToMemory(b *Block) []byte
EncodeToMemory returns the PEM encoding of b.
| FQN | Field | |
|---|---|---|
| encoding/pem | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # encoding/pem