type encoding/asn1.ObjectIdentifier
90 uses
encoding/asn1 (current package)
asn1.go#L222: type ObjectIdentifier []int
asn1.go#L225: func (oi ObjectIdentifier) Equal(other ObjectIdentifier) bool {
asn1.go#L238: func (oi ObjectIdentifier) String() string {
asn1.go#L254: func parseObjectIdentifier(bytes []byte) (s ObjectIdentifier, err error) {
asn1.go#L657: objectIdentifierType = reflect.TypeOf(ObjectIdentifier{})
asn1.go#L858: case *ObjectIdentifier:
marshal.go#L474: return makeObjectIdentifier(value.Interface().(ObjectIdentifier))
crypto/x509
parser.go#L274: namedCurveOID := new(asn1.ObjectIdentifier)
parser.go#L431: func parseExtKeyUsageExtension(der cryptobyte.String) ([]ExtKeyUsage, []asn1.ObjectIdentifier, error) {
parser.go#L433: var unknownUsages []asn1.ObjectIdentifier
parser.go#L438: var eku asn1.ObjectIdentifier
parser.go#L451: func parseCertificatePoliciesExtension(der cryptobyte.String) ([]asn1.ObjectIdentifier, error) {
parser.go#L452: var oids []asn1.ObjectIdentifier
parser.go#L461: var oid asn1.ObjectIdentifier
parser.go#L783: var method asn1.ObjectIdentifier
pkcs8.go#L54: namedCurveOID := new(asn1.ObjectIdentifier)
sec1.go#L27: NamedCurveOID asn1.ObjectIdentifier `asn1:"optional,explicit,tag:0"`
sec1.go#L54: func marshalECPrivateKeyWithOID(key *ecdsa.PrivateKey, oid asn1.ObjectIdentifier) ([]byte, error) {
sec1.go#L68: func parseECPrivateKey(namedCurveOID *asn1.ObjectIdentifier, der []byte) (key *ecdsa.PrivateKey, err error) {
x509.go#L301: oidSignatureMD2WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 2}
x509.go#L302: oidSignatureMD5WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 4}
x509.go#L303: oidSignatureSHA1WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 5}
x509.go#L304: oidSignatureSHA256WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 11}
x509.go#L305: oidSignatureSHA384WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 12}
x509.go#L306: oidSignatureSHA512WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 13}
x509.go#L307: oidSignatureRSAPSS = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 10}
x509.go#L308: oidSignatureDSAWithSHA1 = asn1.ObjectIdentifier{1, 2, 840, 10040, 4, 3}
x509.go#L309: oidSignatureDSAWithSHA256 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 3, 2}
x509.go#L310: oidSignatureECDSAWithSHA1 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 1}
x509.go#L311: oidSignatureECDSAWithSHA256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 2}
x509.go#L312: oidSignatureECDSAWithSHA384 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 3}
x509.go#L313: oidSignatureECDSAWithSHA512 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 4}
x509.go#L314: oidSignatureEd25519 = asn1.ObjectIdentifier{1, 3, 101, 112}
x509.go#L316: oidSHA256 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 1}
x509.go#L317: oidSHA384 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 2}
x509.go#L318: oidSHA512 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 3}
x509.go#L320: oidMGF1 = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 8}
x509.go#L325: oidISOSignatureSHA1WithRSA = asn1.ObjectIdentifier{1, 3, 14, 3, 2, 29}
x509.go#L331: oid asn1.ObjectIdentifier
x509.go#L450: oidPublicKeyRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 1}
x509.go#L451: oidPublicKeyDSA = asn1.ObjectIdentifier{1, 2, 840, 10040, 4, 1}
x509.go#L452: oidPublicKeyECDSA = asn1.ObjectIdentifier{1, 2, 840, 10045, 2, 1}
x509.go#L456: func getPublicKeyAlgorithmFromOID(oid asn1.ObjectIdentifier) PublicKeyAlgorithm {
x509.go#L487: oidNamedCurveP224 = asn1.ObjectIdentifier{1, 3, 132, 0, 33}
x509.go#L488: oidNamedCurveP256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 3, 1, 7}
x509.go#L489: oidNamedCurveP384 = asn1.ObjectIdentifier{1, 3, 132, 0, 34}
x509.go#L490: oidNamedCurveP521 = asn1.ObjectIdentifier{1, 3, 132, 0, 35}
x509.go#L493: func namedCurveFromOID(oid asn1.ObjectIdentifier) elliptic.Curve {
x509.go#L507: func oidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) {
x509.go#L551: oidExtKeyUsageAny = asn1.ObjectIdentifier{2, 5, 29, 37, 0}
x509.go#L552: oidExtKeyUsageServerAuth = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 1}
x509.go#L553: oidExtKeyUsageClientAuth = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 2}
x509.go#L554: oidExtKeyUsageCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 3}
x509.go#L555: oidExtKeyUsageEmailProtection = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 4}
x509.go#L556: oidExtKeyUsageIPSECEndSystem = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 5}
x509.go#L557: oidExtKeyUsageIPSECTunnel = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 6}
x509.go#L558: oidExtKeyUsageIPSECUser = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 7}
x509.go#L559: oidExtKeyUsageTimeStamping = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 8}
x509.go#L560: oidExtKeyUsageOCSPSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 9}
x509.go#L561: oidExtKeyUsageMicrosoftServerGatedCrypto = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 10, 3, 3}
x509.go#L562: oidExtKeyUsageNetscapeServerGatedCrypto = asn1.ObjectIdentifier{2, 16, 840, 1, 113730, 4, 1}
x509.go#L563: oidExtKeyUsageMicrosoftCommercialCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 2, 1, 22}
x509.go#L564: oidExtKeyUsageMicrosoftKernelCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 61, 1, 1}
x509.go#L591: oid asn1.ObjectIdentifier
x509.go#L609: func extKeyUsageFromOID(oid asn1.ObjectIdentifier) (eku ExtKeyUsage, ok bool) {
x509.go#L618: func oidFromExtKeyUsage(eku ExtKeyUsage) (oid asn1.ObjectIdentifier, ok bool) {
x509.go#L668: UnhandledCriticalExtensions []asn1.ObjectIdentifier
x509.go#L671: UnknownExtKeyUsage []asn1.ObjectIdentifier // Encountered extended key usages unknown to this package.
x509.go#L726: PolicyIdentifiers []asn1.ObjectIdentifier
x509.go#L904: Policy asn1.ObjectIdentifier
x509.go#L917: Method asn1.ObjectIdentifier
x509.go#L975: oidAuthorityInfoAccessOcsp = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 48, 1}
x509.go#L976: oidAuthorityInfoAccessIssuers = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 48, 2}
x509.go#L981: func oidInExtensions(oid asn1.ObjectIdentifier, extensions []pkix.Extension) bool {
x509.go#L1278: func marshalExtKeyUsage(extUsages []ExtKeyUsage, unknownUsages []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1281: oids := make([]asn1.ObjectIdentifier, len(extUsages)+len(unknownUsages))
x509.go#L1316: func marshalCertificatePolicies(policyIdentifiers []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1778: var oidExtensionRequest = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 9, 14}
x509.go#L1818: Id asn1.ObjectIdentifier
x509.go#L1950: 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#L431: func (s *String) ReadASN1ObjectIdentifier(out *encoding_asn1.ObjectIdentifier) bool {