config

package
v0.0.0-...-d9e9996 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// NIST
	Nist // = 1
	// 国密
	Gm // = 2
)

定义创建账户时产生的助记词中的标记符的值,及其所对应的椭圆曲线密码学算法的类型

View Source
const (

	// 预留标记位的类型1
	ReservedType1
	// 预留标记位的类型2
	ReservedType2
)

定义创建账户时产生的助记词中的标记符的值,及其所对应的预留标记位的类型

View Source
const (
	// 美国Federal Information Processing Standards的椭圆曲线
	CurveNist = "P-256"
	// 国密椭圆曲线
	CurveGm = "SM2-P-256"
)

定义公私钥中所包含的标记符的值,及其所对应的椭圆曲线密码学算法的类型

Variables

This section is empty.

Functions

func IsValidCryptoType

func IsValidCryptoType(ctype byte) bool

IsValidCryptoType 判断是否支持的加密类型

Types

This section is empty.

Jump to

Keyboard shortcuts

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