Documentation ¶
Overview ¶
go:build windows || (linux && cgo)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoProvider ¶
type CryptoProvider interface { GenerateRSAKeyPair(keyLength int) (*rsa.PrivateKey, error) GenerateECDSAKeyPair(c elliptic.Curve) (*ecdsa.PrivateKey, error) }
func NewCryptoProvider ¶
func NewCryptoProvider() (CryptoProvider, error)
func NewGenericCryptoProvider ¶
func NewGenericCryptoProvider() CryptoProvider
Click to show internal directories.
Click to hide internal directories.