Documentation ¶
Index ¶
Constants ¶
View Source
const ( CipherLogin = 1 CipherCard = 3 CipherIdentity = 4 CipherNote = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cipher ¶
type Cipher struct { Type CipherType ID *uuid.UUID `json:",omitempty"` Name crypto.EncString Edit bool RevisionDate time.Time DeletedDate time.Time FolderID *uuid.UUID `json:",omitempty"` OrganizationID *uuid.UUID `json:",omitempty"` Favorite bool `json:",omitempty"` Attachments interface{} `json:",omitempty"` OrganizationUseTotp bool `json:",omitempty"` CollectionIDs []string `json:",omitempty"` Fields []Field `json:",omitempty"` Card *Card `json:",omitempty"` Identity *Identity `json:",omitempty"` Login *LoginCipher `json:",omitempty"` Notes *crypto.EncString `json:",omitempty"` SecureNote *SecureNoteCipher `json:",omitempty"` }
func (Cipher) GetKeyForCipher ¶
type CipherType ¶
type CipherType int
type Identity ¶
type Identity struct { Title crypto.EncString FirstName crypto.EncString MiddleName crypto.EncString LastName crypto.EncString Username crypto.EncString Company crypto.EncString SSN crypto.EncString PassportNumber crypto.EncString LicenseNumber crypto.EncString Email crypto.EncString Phone crypto.EncString Address1 crypto.EncString Address2 crypto.EncString Address3 crypto.EncString City crypto.EncString State crypto.EncString PostalCode crypto.EncString Country crypto.EncString }
type LoginCipher ¶
type Organization ¶
type SecureNoteCipher ¶
type SecureNoteCipher struct {
Type SecureNoteType
}
type SecureNoteType ¶
type SecureNoteType int
Click to show internal directories.
Click to hide internal directories.