common_go_proto

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package common_proto is a generated protocol buffer package.

It is generated from these files:

proto/common.proto

It has these top-level messages:

Index

Constants

This section is empty.

Variables

View Source
var EcPointFormat_name = map[int32]string{
	0: "UNKNOWN_FORMAT",
	1: "UNCOMPRESSED",
	2: "COMPRESSED",
}
View Source
var EcPointFormat_value = map[string]int32{
	"UNKNOWN_FORMAT": 0,
	"UNCOMPRESSED":   1,
	"COMPRESSED":     2,
}
View Source
var EllipticCurveType_name = map[int32]string{
	0: "UNKNOWN_CURVE",
	1: "NIST_P224",
	2: "NIST_P256",
	3: "NIST_P384",
	4: "NIST_P521",
}
View Source
var EllipticCurveType_value = map[string]int32{
	"UNKNOWN_CURVE": 0,
	"NIST_P224":     1,
	"NIST_P256":     2,
	"NIST_P384":     3,
	"NIST_P521":     4,
}
View Source
var HashType_name = map[int32]string{
	0: "UNKNOWN_HASH",
	1: "SHA1",
	2: "SHA224",
	3: "SHA256",
	4: "SHA512",
}
View Source
var HashType_value = map[string]int32{
	"UNKNOWN_HASH": 0,
	"SHA1":         1,
	"SHA224":       2,
	"SHA256":       3,
	"SHA512":       4,
}

Functions

This section is empty.

Types

type EcPointFormat

type EcPointFormat int32
const (
	EcPointFormat_UNKNOWN_FORMAT EcPointFormat = 0
	EcPointFormat_UNCOMPRESSED   EcPointFormat = 1
	EcPointFormat_COMPRESSED     EcPointFormat = 2
)

func (EcPointFormat) EnumDescriptor

func (EcPointFormat) EnumDescriptor() ([]byte, []int)

func (EcPointFormat) String

func (x EcPointFormat) String() string

type EllipticCurveType

type EllipticCurveType int32
const (
	EllipticCurveType_UNKNOWN_CURVE EllipticCurveType = 0
	EllipticCurveType_NIST_P224     EllipticCurveType = 1
	EllipticCurveType_NIST_P256     EllipticCurveType = 2
	EllipticCurveType_NIST_P384     EllipticCurveType = 3
	EllipticCurveType_NIST_P521     EllipticCurveType = 4
)

func (EllipticCurveType) EnumDescriptor

func (EllipticCurveType) EnumDescriptor() ([]byte, []int)

func (EllipticCurveType) String

func (x EllipticCurveType) String() string

type HashType

type HashType int32
const (
	HashType_UNKNOWN_HASH HashType = 0
	HashType_SHA1         HashType = 1
	HashType_SHA224       HashType = 2
	HashType_SHA256       HashType = 3
	HashType_SHA512       HashType = 4
)

func (HashType) EnumDescriptor

func (HashType) EnumDescriptor() ([]byte, []int)

func (HashType) String

func (x HashType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL