Go stdlib package — encoding/asn1. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.BitString.At()NeutralBitString.At(i int) int
At returns the bit at the given index. If the index is out of range it
.BitString.RightAlign()NeutralBitString.RightAlign() []byte
RightAlign returns a slice where the padding bits are at the beginning. The
.Marshal()NeutralMarshal(val any) ([]byte, error)
Marshal returns the ASN.1 encoding of val.
.MarshalWithParams()NeutralMarshalWithParams(val any, params string) ([]byte, error)
MarshalWithParams allows field parameters to be specified for the
.ObjectIdentifier.Equal()NeutralObjectIdentifier.Equal(other ObjectIdentifier) bool
Equal reports whether oi and other represent the same identifier.
.ObjectIdentifier.String()NeutralObjectIdentifier.String() string
ObjectIdentifier.String function.
.StructuralError.Error()NeutralStructuralError.Error() string
StructuralError.Error function.
.Unmarshal()NeutralUnmarshal(b []byte, val any) ([]byte, error)
Unmarshal parses the DER-encoded ASN.1 data structure b
.UnmarshalWithParams()NeutralUnmarshalWithParams(b []byte, val any, params string) ([]byte, error)
UnmarshalWithParams allows field parameters to be specified for the
| FQN | Field | |
|---|---|---|
| encoding/asn1 | 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/asn1