sdk/golang/Standard Library/GoCryptoX509Pkix
Standard Library

GoCryptoX509Pkix

Go stdlib package — crypto/x509/pkix. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.CertificateList.HasExpired()Neutral
#
Signature
CertificateList.HasExpired(now time.Time) bool

HasExpired reports whether certList should have been updated by now.

.Name.FillFromRDNSequence()Neutral
#
Signature
Name.FillFromRDNSequence(rdns *RDNSequence)

FillFromRDNSequence populates n from the provided RDNSequence.

.Name.String()Neutral
#
Signature
Name.String() string

String returns the string form of n, roughly following

.Name.ToRDNSequence()Neutral
#
Signature
Name.ToRDNSequence() RDNSequence

ToRDNSequence converts n into a single RDNSequence. The following

.RDNSequence.String()Neutral
#
Signature
RDNSequence.String() string

String returns a string representation of the sequence r,

.AlgorithmIdentifier()Neutral
#
Signature
type AlgorithmIdentifier ...

AlgorithmIdentifier represents the ASN.1 structure of the same name. See RFC

.AttributeTypeAndValue()Neutral
#
Signature
type AttributeTypeAndValue ...

AttributeTypeAndValue mirrors the ASN.1 structure of the same name in

.AttributeTypeAndValueSET()Neutral
#
Signature
type AttributeTypeAndValueSET ...

AttributeTypeAndValueSET represents a set of ASN.1 sequences of

.CertificateList()Neutral
#
Signature
type CertificateList ...

CertificateList represents the ASN.1 structure of the same name. See RFC

.Extension()Neutral
#
Signature
type Extension ...

Extension represents the ASN.1 structure of the same name. See RFC

Fully-Qualified Names

FQNField
crypto/x509/pkixfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # crypto/x509/pkix