encoding/asn1.ObjectIdentifier.Equal (method)

42 uses

	encoding/asn1 (current package)
		asn1.go#L226: func (oi ObjectIdentifier) Equal(other ObjectIdentifier) bool {

	crypto/x509
		parser.go#L222: 	case oid.Equal(oidPublicKeyRSA):
		parser.go#L252: 	case oid.Equal(oidPublicKeyECDSA):
		parser.go#L272: 	case oid.Equal(oidPublicKeyEd25519):
		parser.go#L282: 	case oid.Equal(oidPublicKeyX25519):
		parser.go#L289: 	case oid.Equal(oidPublicKeyDSA):
		parser.go#L759: 		} else if e.Id.Equal(oidExtensionAuthorityInfoAccess) {
		parser.go#L781: 				case method.Equal(oidAuthorityInfoAccessOcsp):
		parser.go#L783: 				case method.Equal(oidAuthorityInfoAccessIssuers):
		parser.go#L1141: 					if ext.Id.Equal(oidExtensionReasonCode) {
		parser.go#L1179: 			if ext.Id.Equal(oidExtensionAuthorityKeyId) {
		parser.go#L1181: 			} else if ext.Id.Equal(oidExtensionCRLNumber) {
		pkcs8.go#L47: 	case privKey.Algo.Algorithm.Equal(oidPublicKeyRSA):
		pkcs8.go#L54: 	case privKey.Algo.Algorithm.Equal(oidPublicKeyECDSA):
		pkcs8.go#L66: 	case privKey.Algo.Algorithm.Equal(oidPublicKeyEd25519):
		pkcs8.go#L79: 	case privKey.Algo.Algorithm.Equal(oidPublicKeyX25519):
		verify.go#L857: 		if ext.Id.Equal(oidExtensionSubjectAltName) {
		verify.go#L872: 			if ext.Id.Equal(oidExtensionSubjectAltName) {
		x509.go#L407: 	if ai.Algorithm.Equal(oidSignatureEd25519) {
		x509.go#L415: 	if !ai.Algorithm.Equal(oidSignatureRSAPSS) {
		x509.go#L417: 			if ai.Algorithm.Equal(details.oid) {
		x509.go#L443: 		!params.MGF.Algorithm.Equal(oidMGF1) ||
		x509.go#L444: 		!mgf1HashFunc.Algorithm.Equal(params.Hash.Algorithm) ||
		x509.go#L451: 	case params.Hash.Algorithm.Equal(oidSHA256) && params.SaltLength == 32:
		x509.go#L453: 	case params.Hash.Algorithm.Equal(oidSHA384) && params.SaltLength == 48:
		x509.go#L455: 	case params.Hash.Algorithm.Equal(oidSHA512) && params.SaltLength == 64:
		x509.go#L492: 	case oid.Equal(oidPublicKeyRSA):
		x509.go#L494: 	case oid.Equal(oidPublicKeyDSA):
		x509.go#L496: 	case oid.Equal(oidPublicKeyECDSA):
		x509.go#L498: 	case oid.Equal(oidPublicKeyEd25519):
		x509.go#L529: 	case oid.Equal(oidNamedCurveP224):
		x509.go#L531: 	case oid.Equal(oidNamedCurveP256):
		x509.go#L533: 	case oid.Equal(oidNamedCurveP384):
		x509.go#L535: 	case oid.Equal(oidNamedCurveP521):
		x509.go#L660: 		if oid.Equal(pair.oid) {
		x509.go#L861: 		if e.Id.Equal(oidExtensionSubjectAltName) {
		x509.go#L1043: 		if e.Id.Equal(oid) {
		x509.go#L1891: 		if !attr.Id.Equal(oidExtensionRequest) {
		x509.go#L1971: 			if !atvSet.Type.Equal(oidExtensionRequest) || len(atvSet.Value) == 0 {
		x509.go#L2142: 		case extension.Id.Equal(oidExtensionSubjectAltName):
		x509.go#L2348: 				if ext.Id.Equal(oidExtensionReasonCode) {

	crypto/x509/pkix
		pkix.go#L276: 		if a.Type.Equal(oid) {