Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { URL matrix.URL `json:"url"` Key JSONWebKey `json:"key"` InitVector string `json:"iv"` Hashes map[string]string `json:"hashes"` Version string `json:"v"` }
File represents an encrypted file.
type JSONWebKey ¶
type JSONWebKey struct { KeyType string `json:"kty"` // Type of key. Must be "oct". KeyOperations []string `json:"key_ops"` // Key operations. Algorithm string `json:"alg"` // URLSafe unpadded base64 key. Extractable bool `json:"ext"` // Must be true. }
JSONWebKey represents a JSON web key.
Click to show internal directories.
Click to hide internal directories.