type crypto/x509.OID
47 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) {
oid.go#L398: func OIDFromASN1OID(asn1OID asn1.ObjectIdentifier) (OID, error) {
oid.go#L402: return OID{}, errors.New("x509: OID components must be non-negative")
parser.go#L483: func parseCertificatePoliciesExtension(der cryptobyte.String) ([]OID, error) {
parser.go#L484: var oids []OID
parser.go#L827: out.PolicyMappings = append(out.PolicyMappings, PolicyMapping{OID{issuer}, OID{subject}})
verify.go#L224: CertificatePolicies []OID
verify.go#L1035: func mustNewOIDFromInts(ints []uint64) OID {
verify.go#L1044: validPolicy OID
verify.go#L1045: expectedPolicySet []OID
verify.go#L1052: func newPolicyGraphNode(valid OID, parents []*policyGraphNode) *policyGraphNode {
verify.go#L1055: expectedPolicySet: []OID{valid},
verify.go#L1078: expectedPolicySet: []OID{anyPolicyOID},
verify.go#L1092: func (pg *policyGraph) parentsWithExpected(expected OID) []*policyGraphNode {
verify.go#L1117: func (pg *policyGraph) leafWithPolicy(policy OID) *policyGraphNode {
verify.go#L1121: func (pg *policyGraph) deleteLeaf(policy OID) {
verify.go#L1278: pg.insert(newPolicyGraphNode(OID{der: []byte(oidStr)}, parents))
verify.go#L1289: mappings := map[string][]OID{}
verify.go#L1309: if matching := pg.leafWithPolicy(OID{der: []byte(issuerStr)}); matching != nil {
verify.go#L1313: n := newPolicyGraphNode(OID{der: []byte(issuerStr)}, []*policyGraphNode{matching})
x509.go#L691: func (eku ExtKeyUsage) OID() OID {
x509.go#L815: Policies []OID
x509.go#L886: IssuerDomainPolicy OID
x509.go#L889: SubjectDomainPolicy OID
x509.go#L1472: func marshalCertificatePolicies(policies []OID, policyIdentifiers []asn1.ObjectIdentifier) (pkix.Extension, error) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |