Documentation ¶
Index ¶
Constants ¶
View Source
const ( String = iota + 1 Binary DecimalInt HexadecimalInt )
View Source
const ( AsciiEncoding = iota + 1 EbcdicEncoding )
View Source
const ( HSM_OK = "00" HSM_PARSE_ERROR = "15" )
View Source
const ( ZMK_KEY_TYPE = "000" TMK_KEY_TYPE = "002" )
View Source
const (
PercentSign = '%'
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EncodingType ¶
type EncodingType int
type ThalesHsm ¶
type ThalesHsm struct {
// contains filtered or unexported fields
}
ThalesHsm represents a software Thales HSM
func NewThalesHsm ¶
func NewThalesHsm(ip string, port int, encodingType EncodingType) *ThalesHsm
type ThalesMsRequest ¶
type ThalesMsRequest struct {
// contains filtered or unexported fields
}
func (*ThalesMsRequest) InvalidDataResponse ¶
func (resp *ThalesMsRequest) InvalidDataResponse(msRespStruct *ThalesMsResponse) []byte
type ThalesMsResponse ¶
type ThalesMsResponse struct { MAB []byte // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.