parser

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecryptedVerifiedResponse

type DecryptedVerifiedResponse struct {
	DecryptedEnvString            string
	DecryptedEnv                  map[string]interface{}
	DecryptedInheritanceOverrides map[string]interface{}
}

type EnvServiceResponse

type EnvServiceResponse struct {
	Env                                        string `json:"env"`
	EncryptedPrivkey                           string `json:"encrypted_privkey"`
	PubkeyArmored                              string `json:"pubkey"`
	SignedTrustedPubkeys                       string `json:"signed_trusted_pubkeys"`
	SignedById                                 string `json:"signed_by_id"`
	SignedByPubkeyArmored                      string `json:"signed_by_pubkey"`
	SignedByTrustedPubkeys                     string `json:"signed_by_trusted_pubkeys"`
	InheritanceOverrides                       string `json:"inheritance_overrides,omitempty"`
	InheritanceOverridesSignedById             string `json:"inheritance_overrides_signed_by_id,omitempty"`
	InheritanceOverridesSignedByPubkeyArmored  string `json:"inheritance_overrides_signed_by_pubkey,omitempty"`
	InheritanceOverridesSignedByTrustedPubkeys string `json:"inheritance_overrides_signed_by_trusted_pubkeys,omitempty"`
	AllowCaching                               bool   `json:"allow_caching"`
}

func (*EnvServiceResponse) Parse

func (response *EnvServiceResponse) Parse(pw string) (string, error)

type ResponseWithKeys

type ResponseWithKeys struct {
	RawResponse                                                                                                                   *EnvServiceResponse
	DecryptedPrivkey, VerifiedPubkey, SignerKeyring, InheritanceSignerKeyring, SignedByPubkey, InheritanceOverridesSignedByPubkey openpgp.EntityList
}

type ResponseWithTrustChain

type ResponseWithTrustChain struct {
	ResponseWithKeys           *ResponseWithKeys
	TrustedKeyablesChain       *trust.TrustedKeyablesChain
	Signer                     *trust.Signer
	InheritanceOverridesSigner *trust.Signer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL