cryptosuite

package
v1.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultInitialized

func DefaultInitialized() bool

DefaultInitialized returns true if a default suite has already been set.

func GetDefault

func GetDefault() core.CryptoSuite

GetDefault returns default core

func GetECDSAP256KeyGenOpts

func GetECDSAP256KeyGenOpts(ephemeral bool) core.KeyGenOpts

GetECDSAP256KeyGenOpts returns options for ECDSA key generation with curve P-256.

func GetSHA256Opts

func GetSHA256Opts() core.HashOpts

GetSHA256Opts returns options relating to SHA-256.

func GetSHAOpts

func GetSHAOpts() core.HashOpts

GetSHAOpts returns options for computing SHA.

func SetDefault

func SetDefault(newDefaultSuite core.CryptoSuite) error

SetDefault sets default suite if one is not already set or created Make sure you set default suite before very first call to GetDefault(), otherwise this function will return an error

Types

This section is empty.

Directories

Path Synopsis
bccsp
sw

Jump to

Keyboard shortcuts

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