Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SoftHSMSetup ¶
type SoftHSMSetup struct {
// contains filtered or unexported fields
}
func NewSoftHSMSetup ¶
func NewSoftHSMSetup() *SoftHSMSetup
func (*SoftHSMSetup) GetConfigFilename ¶
func (s *SoftHSMSetup) GetConfigFilename() string
GetConfigFilename returns the path to the softhsm configuration file; this function may only be called after RunSoftHSMSetup
func (*SoftHSMSetup) RunSoftHSMGetPubkey ¶
func (s *SoftHSMSetup) RunSoftHSMGetPubkey(softhsmSetup string) (string, error)
RunSoftHSMGetPubkey runs 'softhsm_setup getpubkey' and returns the public key
func (*SoftHSMSetup) RunSoftHSMSetup ¶
func (s *SoftHSMSetup) RunSoftHSMSetup(softhsmSetup string) (string, error)
RunSoftHSMSetup runs 'softhsm_setup setup' and returns the public key that was displayed
func (*SoftHSMSetup) RunSoftHSMTeardown ¶
func (s *SoftHSMSetup) RunSoftHSMTeardown(softhsmSetup string)
RunSoftHSMTeardown runs 'softhsm_setup teardown
Click to show internal directories.
Click to hide internal directories.