Documentation ¶
Index ¶
Constants ¶
View Source
const TAG_LENGTH_BYTES = 16
Variables ¶
This section is empty.
Functions ¶
func GetDiscoveryResponseData ¶
func GetDiscoveryResponseData(response DiscoveryResponse, remoteAttestations map[string]*contactsDiscovery.RemoteAttestation) ([]byte, error)
Types ¶
type AESEncryptedResult ¶
type AESEncryptedResult struct {
// contains filtered or unexported fields
}
type DiscoveryRequest ¶
type DiscoveryRequest struct { AddressCount int `json:"addressCount"` Commitment []byte `json:"commitment"` Data []byte `json:"data"` Envelopes map[string]*QueryEnvelope `json:"envelopes"` Iv []byte `json:"iv"` Mac []byte `json:"mac"` }
func CreateDiscoveryRequest ¶
func CreateDiscoveryRequest(addressBook []string, remoteAttestations map[string]*contactsDiscovery.RemoteAttestation) (*DiscoveryRequest, error)
type DiscoveryResponse ¶
type QueryEnvelope ¶
type RemoteAttestation ¶
type RemoteAttestation struct { RequestId []byte Keys RemoteAttestationKeys Cookies []string }
type RemoteAttestationKeys ¶
Click to show internal directories.
Click to hide internal directories.