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.
Click to show internal directories.
Click to hide internal directories.