Documentation ¶
Index ¶
Constants ¶
View Source
const ( NONCE_LEN = 24 KEY_BYTES = 32 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOptions ¶
type CreateWithUserIDOptions ¶
type DecryptOptions ¶
func (*DecryptOptions) Marshal ¶
func (o *DecryptOptions) Marshal() ([]byte, error)
type GetPublicKeyOptions ¶
type IssueKeyPairResponse ¶
type Key ¶
type Key struct { ID string `json:"id,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` UserID string `json:"user_id,omitempty"` PublicKey string `json:"public_key,omitempty"` PrivateKey string `json:"private_key,omitempty"` ProtectedKey string `json:"protected_key,omitempty"` Salt string `json:"salt,omitempty"` }
Click to show internal directories.
Click to hide internal directories.