Documentation ¶
Index ¶
Constants ¶
View Source
const ( Signing = "signing" Encryption = "encryption" )
View Source
const ( EthereumStoreType = "ethereum" KeyStoreType = "key" SecretStoreType = "secret" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
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 }
Attributes are user set configuration and information attached to stored item
type ETHAccount ¶
type Key ¶
type Key struct { ID string PublicKey []byte Algo *entities.Algorithm Metadata *Metadata Tags map[string]string Annotations *Annotation }
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.