Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilitiesResp ¶
type CapabilitiesResp struct { Asymmetric []CapabilityResp Symmetric []CapabilityResp }
type CapabilityResp ¶
type GenerateAESKeyReq ¶
GenerateAESKeyReq contains all parameters used to generate a symmetric AES key
type GenerateECDSAKeyPairReq ¶
GenerateECDSAKeyPairReq contains all parameters used to generate an ECDSA key pair
type GenerateRSAKeyPairReq ¶
GenerateRSAKeyPairReq contains all parameters used to generate an RSA key pair
type SecureModule ¶
type SecureModule interface { GenerateRSAKeyPair(ctx runtime.Context, req GenerateRSAKeyPairReq) (crypto.PublicKey, error) GenerateECDSAKeyPair(ctx runtime.Context, req GenerateECDSAKeyPairReq) (crypto.PublicKey, error) Signer(ctx runtime.Context, alias string) (crypto.Signer, error) Block(ctx runtime.Context, alias string) (cipher.Block, error) GenerateAESKey(ctx runtime.Context, req GenerateAESKeyReq) (cipher.Block, error) Capabilities() CapabilitiesResp }
SecureModule abstract the backend implementation of the Encryption managemend
Click to show internal directories.
Click to hide internal directories.