Documentation ¶
Index ¶
Constants ¶
View Source
const ( Signing = "signing" Encryption = "encryption" )
View Source
const (
WalletStoreType = "wallet"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes struct { // Operations supported by a stored item (e.g. sign, encrypt...) Operations []CryptoOperation // Disabled whether item is disabled Disabled bool // TTL TTL time.Duration // Recovery policy about a key after being deleted before being destroyed Recovery *Recovery // Tags attached to a stored item Tags map[string]string // Auth data Auth map[string]interface{} }
Attributes are user set configuration and information attached to stored item
type Key ¶
type Key struct { ID string PublicKey []byte Algo *entities.Algorithm Metadata *Metadata Tags map[string]string }
Key public part of a key
func (*Key) IsETHAccount ¶
type Recovery ¶
type Recovery struct { // Policy for recovery Policy RecoveryPolicy // Period for recovery Period time.Time }
type RecoveryPolicy ¶
type RecoveryPolicy string
RecoveryPolicy policies for recovering a deleted item
Click to show internal directories.
Click to hide internal directories.