cryptosuite

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefault

func GetDefault() apicryptosuite.CryptoSuite

GetDefault returns default apicryptosuite

func GetECDSAP256KeyGenOpts

func GetECDSAP256KeyGenOpts(ephemeral bool) apicryptosuite.KeyGenOpts

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

func GetSHA256Opts

func GetSHA256Opts() apicryptosuite.HashOpts

GetSHA256Opts returns options relating to SHA-256.

func GetSHAOpts

func GetSHAOpts() apicryptosuite.HashOpts

GetSHAOpts returns options for computing SHA.

func SetDefault

func SetDefault(newDefaultSuite apicryptosuite.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
gm
sw

Jump to

Keyboard shortcuts

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