Documentation
¶
Index ¶
Constants ¶
View Source
const ( XVaultToken = "X-Vault-Token" XVaultNamespace = "X-Vault-Namespace" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SignReq ¶
type SignReq struct {
Input []byte `json:"input"`
PreHashed bool `json:"prehashed"`
SignatureAlgorithm SignatureAlgorithm `json:"signature_algorithm"`
}
type SignResp ¶
type SignResp struct {
Data struct {
Signature string `json:"signature"`
} `json:"data"`
}
type SignatureAlgorithm ¶
type SignatureAlgorithm string
const ( PKCS1v15 SignatureAlgorithm = "pkcs1v15" PSS SignatureAlgorithm = "pss" )
Click to show internal directories.
Click to hide internal directories.