Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BCCSP ¶
type BCCSP struct { Default string `json:"default,omitempty"` SW *SwOpts `json:"SW,omitempty"` PKCS11 *PKCS11Opts `json:"PKCS11,omitempty"` }
type Duration ¶
func ConvertTimeDuration ¶
func MustParseDuration ¶
func ParseDuration ¶
func (*Duration) Decode ¶
Decode is custom decoder for `envconfig` library, this method is used to handle reading in environment variables and converting them into the type that is expected in our structs
func (Duration) MarshalJSON ¶
func (*Duration) Unmarshal ¶
Unmarshal is custom unmarshaler for github.com/kelseyhightower/envconfig
func (*Duration) UnmarshalJSON ¶
type FileKeyStoreOpts ¶
type FileKeyStoreOpts struct {
KeyStorePath string `json:"keystore,omitempty"`
}
type PKCS11Opts ¶
type PKCS11Opts struct { Security int `json:"security,omitempty"` Hash string `json:"hash,omitempty"` Library string `json:"library,omitempty"` Label string `json:"label,omitempty"` Pin string `json:"pin,omitempty"` Ephemeral bool `json:"tempkeys,omitempty"` SoftwareVerify bool `json:"softwareVerify,omitempty"` Immutable bool `json:"immutable,omitempty"` FileKeyStore *FileKeyStoreOpts `json:"filekeystore,omitempty"` }
type SwOpts ¶
type SwOpts struct { Security int `json:"security,omitempty"` Hash string `json:"hash,omitempty"` FileKeyStore FileKeyStoreOpts `json:"filekeystore,omitempty"` }
SwOpts contains options for the SWFactory
Click to show internal directories.
Click to hide internal directories.