Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SKIPEM is the PEM type to identify an SKI (Subject Key Identifier)
SKIPEM = "BCCSP SKI"
)
Variables ¶
This section is empty.
Functions ¶
func GenRootKey ¶
GenRootKey generates a new root key
Types ¶
type Config ¶
type Config struct {
SW *SWConfig `json:"software,omitempty"`
}
Config is the configuration for CSP (Crypto Service Provider) which allows plugging in support for HSMs (Hardware Service Modules) Currently supported types are: 'software'
type SWConfig ¶
type SWConfig struct { KeyStoreDir string `json:"key_store_dir,omitempty"` HashFamily string `json:"hash_family,omitempty"` SecurityLevel int `json:"security_level,omitempty"` Ephemeral bool `json:"ephemeral,omitempty"` }
SWConfig is configuration for the software implementation of CSP
Click to show internal directories.
Click to hide internal directories.