type encoding/asn1.ObjectIdentifier
92 uses
encoding/asn1 (current package)
asn1.go#L224: type ObjectIdentifier []int
asn1.go#L227: func (oi ObjectIdentifier) Equal(other ObjectIdentifier) bool {
asn1.go#L231: func (oi ObjectIdentifier) String() string {
asn1.go#L249: func parseObjectIdentifier(bytes []byte) (s ObjectIdentifier, err error) {
asn1.go#L652: objectIdentifierType = reflect.TypeFor[ObjectIdentifier]()
asn1.go#L855: case *ObjectIdentifier:
marshal.go#L471: return makeObjectIdentifier(value.Interface().(ObjectIdentifier))
crypto/x509
oid.go#L251: func (oid OID) EqualASN1OID(other asn1.ObjectIdentifier) bool {
oid.go#L358: func (oid OID) toASN1OID() (asn1.ObjectIdentifier, bool) {
parser.go#L255: namedCurveOID := new(asn1.ObjectIdentifier)
parser.go#L439: func parseExtKeyUsageExtension(der cryptobyte.String) ([]ExtKeyUsage, []asn1.ObjectIdentifier, error) {
parser.go#L441: var unknownUsages []asn1.ObjectIdentifier
parser.go#L446: var eku asn1.ObjectIdentifier
parser.go#L805: out.PolicyIdentifiers = make([]asn1.ObjectIdentifier, 0, len(out.Policies))
parser.go#L851: var method asn1.ObjectIdentifier
pkcs8.go#L59: namedCurveOID := new(asn1.ObjectIdentifier)
sec1.go#L30: NamedCurveOID asn1.ObjectIdentifier `asn1:"optional,explicit,tag:0"`
sec1.go#L57: func marshalECPrivateKeyWithOID(key *ecdsa.PrivateKey, oid asn1.ObjectIdentifier) ([]byte, error) {
sec1.go#L84: func parseECPrivateKey(namedCurveOID *asn1.ObjectIdentifier, der []byte) (key *ecdsa.PrivateKey, err error) {
x509.go#L336: oidSignatureMD5WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 4}
x509.go#L337: oidSignatureSHA1WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 5}
x509.go#L338: oidSignatureSHA256WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 11}
x509.go#L339: oidSignatureSHA384WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 12}
x509.go#L340: oidSignatureSHA512WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 13}
x509.go#L341: oidSignatureRSAPSS = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 10}
x509.go#L342: oidSignatureDSAWithSHA1 = asn1.ObjectIdentifier{1, 2, 840, 10040, 4, 3}
x509.go#L343: oidSignatureDSAWithSHA256 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 3, 2}
x509.go#L344: oidSignatureECDSAWithSHA1 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 1}
x509.go#L345: oidSignatureECDSAWithSHA256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 2}
x509.go#L346: oidSignatureECDSAWithSHA384 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 3}
x509.go#L347: oidSignatureECDSAWithSHA512 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 4}
x509.go#L348: oidSignatureEd25519 = asn1.ObjectIdentifier{1, 3, 101, 112}
x509.go#L350: oidSHA256 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 1}
x509.go#L351: oidSHA384 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 2}
x509.go#L352: oidSHA512 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 3}
x509.go#L354: oidMGF1 = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 8}
x509.go#L359: oidISOSignatureSHA1WithRSA = asn1.ObjectIdentifier{1, 3, 14, 3, 2, 29}
x509.go#L365: oid asn1.ObjectIdentifier
x509.go#L482: oidPublicKeyRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 1}
x509.go#L483: oidPublicKeyDSA = asn1.ObjectIdentifier{1, 2, 840, 10040, 4, 1}
x509.go#L488: oidPublicKeyECDSA = asn1.ObjectIdentifier{1, 2, 840, 10045, 2, 1}
x509.go#L493: oidPublicKeyX25519 = asn1.ObjectIdentifier{1, 3, 101, 110}
x509.go#L494: oidPublicKeyEd25519 = asn1.ObjectIdentifier{1, 3, 101, 112}
x509.go#L500: func getPublicKeyAlgorithmFromOID(oid asn1.ObjectIdentifier) PublicKeyAlgorithm {
x509.go#L531: oidNamedCurveP224 = asn1.ObjectIdentifier{1, 3, 132, 0, 33}
x509.go#L532: oidNamedCurveP256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 3, 1, 7}
x509.go#L533: oidNamedCurveP384 = asn1.ObjectIdentifier{1, 3, 132, 0, 34}
x509.go#L534: oidNamedCurveP521 = asn1.ObjectIdentifier{1, 3, 132, 0, 35}
x509.go#L537: func namedCurveFromOID(oid asn1.ObjectIdentifier) elliptic.Curve {
x509.go#L551: func oidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) {
x509.go#L566: func oidFromECDHCurve(curve ecdh.Curve) (asn1.ObjectIdentifier, bool) {
x509.go#L610: oidExtKeyUsageAny = asn1.ObjectIdentifier{2, 5, 29, 37, 0}
x509.go#L611: oidExtKeyUsageServerAuth = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 1}
x509.go#L612: oidExtKeyUsageClientAuth = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 2}
x509.go#L613: oidExtKeyUsageCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 3}
x509.go#L614: oidExtKeyUsageEmailProtection = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 4}
x509.go#L615: oidExtKeyUsageIPSECEndSystem = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 5}
x509.go#L616: oidExtKeyUsageIPSECTunnel = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 6}
x509.go#L617: oidExtKeyUsageIPSECUser = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 7}
x509.go#L618: oidExtKeyUsageTimeStamping = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 8}
x509.go#L619: oidExtKeyUsageOCSPSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 9}
x509.go#L620: oidExtKeyUsageMicrosoftServerGatedCrypto = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 10, 3, 3}
x509.go#L621: oidExtKeyUsageNetscapeServerGatedCrypto = asn1.ObjectIdentifier{2, 16, 840, 1, 113730, 4, 1}
x509.go#L622: oidExtKeyUsageMicrosoftCommercialCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 2, 1, 22}
x509.go#L623: oidExtKeyUsageMicrosoftKernelCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 61, 1, 1}
x509.go#L650: oid asn1.ObjectIdentifier
x509.go#L668: func extKeyUsageFromOID(oid asn1.ObjectIdentifier) (eku ExtKeyUsage, ok bool) {
x509.go#L677: func oidFromExtKeyUsage(eku ExtKeyUsage) (oid asn1.ObjectIdentifier, ok bool) {
x509.go#L727: UnhandledCriticalExtensions []asn1.ObjectIdentifier
x509.go#L730: UnknownExtKeyUsage []asn1.ObjectIdentifier // Encountered extended key usages unknown to this package.
x509.go#L792: PolicyIdentifiers []asn1.ObjectIdentifier
x509.go#L1048: Policy asn1.ObjectIdentifier
x509.go#L1061: Method asn1.ObjectIdentifier
x509.go#L1120: oidAuthorityInfoAccessOcsp = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 48, 1}
x509.go#L1121: oidAuthorityInfoAccessIssuers = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 48, 2}
x509.go#L1126: func oidInExtensions(oid asn1.ObjectIdentifier, extensions []pkix.Extension) bool {
x509.go#L1423: func marshalExtKeyUsage(extUsages []ExtKeyUsage, unknownUsages []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1426: oids := make([]asn1.ObjectIdentifier, len(extUsages)+len(unknownUsages))
x509.go#L1455: func marshalCertificatePolicies(policies []OID, policyIdentifiers []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1954: var oidExtensionRequest = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 9, 14}
x509.go#L1994: Id asn1.ObjectIdentifier
x509.go#L2132: Type asn1.ObjectIdentifier
crypto/x509/pkix
pkix.go#L20: Algorithm asn1.ObjectIdentifier
pkix.go#L100: Type asn1.ObjectIdentifier
pkix.go#L107: Type asn1.ObjectIdentifier
pkix.go#L114: Id asn1.ObjectIdentifier
pkix.go#L200: func (n Name) appendRDNs(in RDNSequence, values []string, oid asn1.ObjectIdentifier) RDNSequence {
pkix.go#L274: func oidInAttributeTypeAndValue(oid asn1.ObjectIdentifier, atv []AttributeTypeAndValue) bool {
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L163: func isValidOID(oid encoding_asn1.ObjectIdentifier) bool {
asn1.go#L181: func (b *Builder) AddASN1ObjectIdentifier(oid encoding_asn1.ObjectIdentifier) {
asn1.go#L453: func (s *String) ReadASN1ObjectIdentifier(out *encoding_asn1.ObjectIdentifier) bool {