Documentation
¶
Index ¶
- type DecryptedKeyableBlob
- type DecryptedResponse
- type FetchResponse
- type InheritanceOverrides
- type InheritanceOverridesBlobs
- type KeyableBlob
- type KeyableBlobFields
- type KeyableBlobFieldsWithTrustChain
- type KeyableBlobWithTrustChains
- type KeyableEnv
- type KeyableEnvVal
- type KeyableRawEnv
- type ResponseWithKeys
- type ResponseWithTrustChains
- type RootKeys
- type RootPubkeyReplacement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecryptedKeyableBlob ¶
type DecryptedKeyableBlob struct {
Env KeyableEnv
SubEnv KeyableEnv
Locals KeyableEnv
InheritanceOverrides InheritanceOverrides
}
type DecryptedResponse ¶
type DecryptedResponse struct {
*DecryptedKeyableBlob
DecryptedBlocks []*DecryptedKeyableBlob
}
type FetchResponse ¶
type FetchResponse struct {
*KeyableBlob
OrgId string `json:"orgId"`
EncryptedPrivkey *crypto.EncryptedData `json:"encryptedPrivkey"`
Pubkey *crypto.Pubkey `json:"pubkey"`
SignedTrustedRoot *crypto.SignedData `json:"signedTrustedRoot"`
Blocks []*KeyableBlob `json:"blocks,omitempty"`
RootPubkeyReplacements []*RootPubkeyReplacement `json:"rootPubkeyReplacements,omitempty"`
}
type InheritanceOverrides ¶
type InheritanceOverrides map[string]KeyableEnv
type InheritanceOverridesBlobs ¶
type InheritanceOverridesBlobs map[string]KeyableBlobFields
type KeyableBlob ¶
type KeyableBlob struct {
Env *KeyableBlobFields `json:"env,omitempty"`
SubEnv *KeyableBlobFields `json:"subEnv,omitempty"`
Locals *KeyableBlobFields `json:"locals,omitempty"`
InheritanceOverrides InheritanceOverridesBlobs `json:"inheritanceOverrides,omitempty"`
}
type KeyableBlobFields ¶
type KeyableBlobFields struct {
EncryptedEnv *crypto.EncryptedData `json:"encryptedEnv"`
EncryptedKey *crypto.EncryptedData `json:"encryptedKey"`
EncryptedByPubkeyId string `json:"encryptedByPubkeyId"`
EncryptedByPubkey *crypto.Pubkey `json:"encryptedByPubkey"`
EncryptedByTrustChain *crypto.SignedData `json:"encryptedByTrustChain"`
}
type KeyableBlobFieldsWithTrustChain ¶
type KeyableBlobFieldsWithTrustChain struct {
*KeyableBlobFields
DecryptedPrivkey *crypto.Privkey
TrustedKeyablesChain *trust.TrustedKeyablesChain
Signer *trust.Signer
}
type KeyableBlobWithTrustChains ¶
type KeyableBlobWithTrustChains struct {
Env *KeyableBlobFieldsWithTrustChain
SubEnv *KeyableBlobFieldsWithTrustChain
Locals *KeyableBlobFieldsWithTrustChain
InheritanceOverrides map[string]*KeyableBlobFieldsWithTrustChain
}
type KeyableEnv ¶
type KeyableEnv map[string]*KeyableEnvVal
type KeyableEnvVal ¶
type KeyableRawEnv ¶
type KeyableRawEnv map[string]interface{}
type ResponseWithKeys ¶
type ResponseWithKeys struct {
RootKeys
Response *FetchResponse
}
type ResponseWithTrustChains ¶
type ResponseWithTrustChains struct {
*KeyableBlobWithTrustChains
BlocksWithTrustChain []*KeyableBlobWithTrustChains
ResponseWithKeys *ResponseWithKeys
}
type RootPubkeyReplacement ¶
Click to show internal directories.
Click to hide internal directories.