type crypto/x509.OID
44 uses
crypto/x509 (current package)
oid.go#L23: type OID struct {
oid.go#L28: func ParseOID(oid string) (OID, error) {
oid.go#L29: var o OID
oid.go#L33: func newOIDFromDER(der []byte) (OID, bool) {
oid.go#L35: return OID{}, false
oid.go#L44: return OID{}, false
oid.go#L51: return OID{der}, true
oid.go#L55: func OIDFromInts(oid []uint64) (OID, error) {
oid.go#L57: return OID{}, errInvalidOID
oid.go#L70: return OID{der}, nil
oid.go#L116: func (o OID) AppendText(b []byte) ([]byte, error) {
oid.go#L121: func (o OID) MarshalText() ([]byte, error) {
oid.go#L126: func (o *OID) UnmarshalText(text []byte) error {
oid.go#L130: func (o *OID) unmarshalOIDText(oid string) error {
oid.go#L189: func (o OID) AppendBinary(b []byte) ([]byte, error) {
oid.go#L194: func (o OID) MarshalBinary() ([]byte, error) {
oid.go#L199: func (o *OID) UnmarshalBinary(b []byte) error {
oid.go#L209: func (oid OID) Equal(other OID) bool {
oid.go#L251: func (oid OID) EqualASN1OID(other asn1.ObjectIdentifier) bool {
oid.go#L290: func (oid OID) String() string {
oid.go#L358: func (oid OID) toASN1OID() (asn1.ObjectIdentifier, bool) {
parser.go#L459: func parseCertificatePoliciesExtension(der cryptobyte.String) ([]OID, error) {
parser.go#L460: var oids []OID
parser.go#L824: out.PolicyMappings = append(out.PolicyMappings, PolicyMapping{OID{issuer}, OID{subject}})
verify.go#L219: CertificatePolicies []OID
verify.go#L1256: func mustNewOIDFromInts(ints []uint64) OID {
verify.go#L1265: validPolicy OID
verify.go#L1266: expectedPolicySet []OID
verify.go#L1273: func newPolicyGraphNode(valid OID, parents []*policyGraphNode) *policyGraphNode {
verify.go#L1276: expectedPolicySet: []OID{valid},
verify.go#L1299: expectedPolicySet: []OID{anyPolicyOID},
verify.go#L1313: func (pg *policyGraph) parentsWithExpected(expected OID) []*policyGraphNode {
verify.go#L1338: func (pg *policyGraph) leafWithPolicy(policy OID) *policyGraphNode {
verify.go#L1342: func (pg *policyGraph) deleteLeaf(policy OID) {
verify.go#L1499: pg.insert(newPolicyGraphNode(OID{der: []byte(oidStr)}, parents))
verify.go#L1510: mappings := map[string][]OID{}
verify.go#L1530: if matching := pg.leafWithPolicy(OID{der: []byte(issuerStr)}); matching != nil {
verify.go#L1534: n := newPolicyGraphNode(OID{der: []byte(issuerStr)}, []*policyGraphNode{matching})
x509.go#L798: Policies []OID
x509.go#L869: IssuerDomainPolicy OID
x509.go#L872: SubjectDomainPolicy OID
x509.go#L1455: func marshalCertificatePolicies(policies []OID, policyIdentifiers []asn1.ObjectIdentifier) (pkix.Extension, error) {