type encoding/asn1.ObjectIdentifier
93 uses
encoding/asn1 (current package)
asn1.go#L223: type ObjectIdentifier []int
asn1.go#L226: func (oi ObjectIdentifier) Equal(other ObjectIdentifier) bool {
asn1.go#L239: func (oi ObjectIdentifier) String() string {
asn1.go#L257: func parseObjectIdentifier(bytes []byte) (s ObjectIdentifier, err error) {
asn1.go#L660: objectIdentifierType = reflect.TypeOf(ObjectIdentifier{})
asn1.go#L861: case *ObjectIdentifier:
marshal.go#L474: return makeObjectIdentifier(value.Interface().(ObjectIdentifier))
crypto/x509
parser.go#L254: namedCurveOID := new(asn1.ObjectIdentifier)
parser.go#L418: func parseExtKeyUsageExtension(der cryptobyte.String) ([]ExtKeyUsage, []asn1.ObjectIdentifier, error) {
parser.go#L420: var unknownUsages []asn1.ObjectIdentifier
parser.go#L425: var eku asn1.ObjectIdentifier
parser.go#L438: func parseCertificatePoliciesExtension(der cryptobyte.String) ([]asn1.ObjectIdentifier, error) {
parser.go#L439: var oids []asn1.ObjectIdentifier
parser.go#L448: var oid asn1.ObjectIdentifier
parser.go#L770: var method asn1.ObjectIdentifier
pkcs8.go#L56: 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#L328: oidSignatureMD2WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 2}
x509.go#L329: oidSignatureMD5WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 4}
x509.go#L330: oidSignatureSHA1WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 5}
x509.go#L331: oidSignatureSHA256WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 11}
x509.go#L332: oidSignatureSHA384WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 12}
x509.go#L333: oidSignatureSHA512WithRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 13}
x509.go#L334: oidSignatureRSAPSS = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 10}
x509.go#L335: oidSignatureDSAWithSHA1 = asn1.ObjectIdentifier{1, 2, 840, 10040, 4, 3}
x509.go#L336: oidSignatureDSAWithSHA256 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 3, 2}
x509.go#L337: oidSignatureECDSAWithSHA1 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 1}
x509.go#L338: oidSignatureECDSAWithSHA256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 2}
x509.go#L339: oidSignatureECDSAWithSHA384 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 3}
x509.go#L340: oidSignatureECDSAWithSHA512 = asn1.ObjectIdentifier{1, 2, 840, 10045, 4, 3, 4}
x509.go#L341: oidSignatureEd25519 = asn1.ObjectIdentifier{1, 3, 101, 112}
x509.go#L343: oidSHA256 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 1}
x509.go#L344: oidSHA384 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 2}
x509.go#L345: oidSHA512 = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 3}
x509.go#L347: oidMGF1 = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 8}
x509.go#L352: oidISOSignatureSHA1WithRSA = asn1.ObjectIdentifier{1, 3, 14, 3, 2, 29}
x509.go#L358: oid asn1.ObjectIdentifier
x509.go#L472: oidPublicKeyRSA = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 1, 1}
x509.go#L473: oidPublicKeyDSA = asn1.ObjectIdentifier{1, 2, 840, 10040, 4, 1}
x509.go#L478: oidPublicKeyECDSA = asn1.ObjectIdentifier{1, 2, 840, 10045, 2, 1}
x509.go#L483: oidPublicKeyX25519 = asn1.ObjectIdentifier{1, 3, 101, 110}
x509.go#L484: oidPublicKeyEd25519 = asn1.ObjectIdentifier{1, 3, 101, 112}
x509.go#L490: func getPublicKeyAlgorithmFromOID(oid asn1.ObjectIdentifier) PublicKeyAlgorithm {
x509.go#L521: oidNamedCurveP224 = asn1.ObjectIdentifier{1, 3, 132, 0, 33}
x509.go#L522: oidNamedCurveP256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 3, 1, 7}
x509.go#L523: oidNamedCurveP384 = asn1.ObjectIdentifier{1, 3, 132, 0, 34}
x509.go#L524: oidNamedCurveP521 = asn1.ObjectIdentifier{1, 3, 132, 0, 35}
x509.go#L527: func namedCurveFromOID(oid asn1.ObjectIdentifier) elliptic.Curve {
x509.go#L541: func oidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) {
x509.go#L556: func oidFromECDHCurve(curve ecdh.Curve) (asn1.ObjectIdentifier, bool) {
x509.go#L600: oidExtKeyUsageAny = asn1.ObjectIdentifier{2, 5, 29, 37, 0}
x509.go#L601: oidExtKeyUsageServerAuth = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 1}
x509.go#L602: oidExtKeyUsageClientAuth = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 2}
x509.go#L603: oidExtKeyUsageCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 3}
x509.go#L604: oidExtKeyUsageEmailProtection = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 4}
x509.go#L605: oidExtKeyUsageIPSECEndSystem = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 5}
x509.go#L606: oidExtKeyUsageIPSECTunnel = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 6}
x509.go#L607: oidExtKeyUsageIPSECUser = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 7}
x509.go#L608: oidExtKeyUsageTimeStamping = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 8}
x509.go#L609: oidExtKeyUsageOCSPSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 3, 9}
x509.go#L610: oidExtKeyUsageMicrosoftServerGatedCrypto = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 10, 3, 3}
x509.go#L611: oidExtKeyUsageNetscapeServerGatedCrypto = asn1.ObjectIdentifier{2, 16, 840, 1, 113730, 4, 1}
x509.go#L612: oidExtKeyUsageMicrosoftCommercialCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 2, 1, 22}
x509.go#L613: oidExtKeyUsageMicrosoftKernelCodeSigning = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 61, 1, 1}
x509.go#L640: oid asn1.ObjectIdentifier
x509.go#L658: func extKeyUsageFromOID(oid asn1.ObjectIdentifier) (eku ExtKeyUsage, ok bool) {
x509.go#L667: func oidFromExtKeyUsage(eku ExtKeyUsage) (oid asn1.ObjectIdentifier, ok bool) {
x509.go#L717: UnhandledCriticalExtensions []asn1.ObjectIdentifier
x509.go#L720: UnknownExtKeyUsage []asn1.ObjectIdentifier // Encountered extended key usages unknown to this package.
x509.go#L775: PolicyIdentifiers []asn1.ObjectIdentifier
x509.go#L963: Policy asn1.ObjectIdentifier
x509.go#L976: Method asn1.ObjectIdentifier
x509.go#L1035: oidAuthorityInfoAccessOcsp = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 48, 1}
x509.go#L1036: oidAuthorityInfoAccessIssuers = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 48, 2}
x509.go#L1041: func oidInExtensions(oid asn1.ObjectIdentifier, extensions []pkix.Extension) bool {
x509.go#L1335: func marshalExtKeyUsage(extUsages []ExtKeyUsage, unknownUsages []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1338: oids := make([]asn1.ObjectIdentifier, len(extUsages)+len(unknownUsages))
x509.go#L1367: func marshalCertificatePolicies(policyIdentifiers []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1838: var oidExtensionRequest = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 9, 14}
x509.go#L1878: Id asn1.ObjectIdentifier
x509.go#L2018: 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 {
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |