Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SoftwareBasedFactoryName is the name of the factory of the software-based BCCSP implementation
SMSoftwareBasedFactoryName = "SM"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMDummyKeystoreOpts ¶
type SMDummyKeystoreOpts struct{}
type SMFactory ¶
type SMFactory struct{}
SMFactory is the factory of the software-based BCCSP.
type SMFileKeystoreOpts ¶
type SMFileKeystoreOpts struct {
KeyStorePath string `mapstructure:"keystore" yaml:"KeyStore"`
}
Pluggable Keystores, could add JKS, P12, etc..
type SmOpts ¶
type SmOpts struct { // Default algorithms when not specified (Deprecated?) SecLevel int `mapstructure:"security" json:"security" yaml:"Security"` HashFamily string `mapstructure:"hash" json:"hash" yaml:"Hash"` // Keystore Options Ephemeral bool `mapstructure:"tempkeys,omitempty" json:"tempkeys,omitempty"` FileKeystore *SMFileKeystoreOpts `mapstructure:"filekeystore,omitempty" json:"filekeystore,omitempty" yaml:"FileKeyStore"` DummyKeystore *SMDummyKeystoreOpts `mapstructure:"dummykeystore,omitempty" json:"dummykeystore,omitempty"` }
SMOpts contains options for the SMFactory
Click to show internal directories.
Click to hide internal directories.