verifiablecredstypes

package
v2.422.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthBertyverifiablecreds        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBertyverifiablecreds          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBertyverifiablecreds = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CodeStrategy_name = map[int32]string{
	0:   "CodeStrategyUndefined",
	1:   "CodeStrategy6Digits",
	2:   "CodeStrategy10Chars",
	999: "CodeStrategyMocked6Zeroes",
}
View Source
var CodeStrategy_value = map[string]int32{
	"CodeStrategyUndefined":     0,
	"CodeStrategy6Digits":       1,
	"CodeStrategy10Chars":       2,
	"CodeStrategyMocked6Zeroes": 999,
}
View Source
var FlowType_name = map[int32]string{
	0: "FlowTypeUndefined",
	1: "FlowTypeCode",
	2: "FlowTypeAuth",
	3: "FlowTypeProof",
}
View Source
var FlowType_value = map[string]int32{
	"FlowTypeUndefined": 0,
	"FlowTypeCode":      1,
	"FlowTypeAuth":      2,
	"FlowTypeProof":     3,
}

Functions

This section is empty.

Types

type AccountCryptoChallenge

type AccountCryptoChallenge struct {
	Challenge            string   `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountCryptoChallenge) Descriptor

func (*AccountCryptoChallenge) Descriptor() ([]byte, []int)

func (*AccountCryptoChallenge) GetChallenge

func (m *AccountCryptoChallenge) GetChallenge() string

func (*AccountCryptoChallenge) Marshal

func (m *AccountCryptoChallenge) Marshal() (dAtA []byte, err error)

func (*AccountCryptoChallenge) MarshalTo

func (m *AccountCryptoChallenge) MarshalTo(dAtA []byte) (int, error)

func (*AccountCryptoChallenge) MarshalToSizedBuffer

func (m *AccountCryptoChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountCryptoChallenge) ProtoMessage

func (*AccountCryptoChallenge) ProtoMessage()

func (*AccountCryptoChallenge) Reset

func (m *AccountCryptoChallenge) Reset()

func (*AccountCryptoChallenge) Size

func (m *AccountCryptoChallenge) Size() (n int)

func (*AccountCryptoChallenge) String

func (m *AccountCryptoChallenge) String() string

func (*AccountCryptoChallenge) Unmarshal

func (m *AccountCryptoChallenge) Unmarshal(dAtA []byte) error

func (*AccountCryptoChallenge) XXX_DiscardUnknown

func (m *AccountCryptoChallenge) XXX_DiscardUnknown()

func (*AccountCryptoChallenge) XXX_Marshal

func (m *AccountCryptoChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountCryptoChallenge) XXX_Merge

func (m *AccountCryptoChallenge) XXX_Merge(src proto.Message)

func (*AccountCryptoChallenge) XXX_Size

func (m *AccountCryptoChallenge) XXX_Size() int

func (*AccountCryptoChallenge) XXX_Unmarshal

func (m *AccountCryptoChallenge) XXX_Unmarshal(b []byte) error

type CodeStrategy

type CodeStrategy int32
const (
	CodeStrategy_CodeStrategyUndefined CodeStrategy = 0
	// CodeStrategy6Digits currently unimplemented
	CodeStrategy_CodeStrategy6Digits CodeStrategy = 1
	// CodeStrategy10Chars currently unimplemented
	CodeStrategy_CodeStrategy10Chars CodeStrategy = 2
	// CodeStrategyMocked6Zeroes must only be used in testing
	CodeStrategy_CodeStrategyMocked6Zeroes CodeStrategy = 999
)

func (CodeStrategy) EnumDescriptor

func (CodeStrategy) EnumDescriptor() ([]byte, []int)

func (CodeStrategy) String

func (x CodeStrategy) String() string

type FlowType

type FlowType int32
const (
	FlowType_FlowTypeUndefined FlowType = 0
	// FlowTypeCode asks users a code sent on a side channel
	FlowType_FlowTypeCode FlowType = 1
	// FlowTypeAuth currently unimplemented
	FlowType_FlowTypeAuth FlowType = 2
	// FlowTypeProof currently unimplemented
	FlowType_FlowTypeProof FlowType = 3
)

func (FlowType) EnumDescriptor

func (FlowType) EnumDescriptor() ([]byte, []int)

func (FlowType) String

func (x FlowType) String() string

type SendVerificationCode

type SendVerificationCode struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendVerificationCode) Descriptor

func (*SendVerificationCode) Descriptor() ([]byte, []int)

func (*SendVerificationCode) Marshal

func (m *SendVerificationCode) Marshal() (dAtA []byte, err error)

func (*SendVerificationCode) MarshalTo

func (m *SendVerificationCode) MarshalTo(dAtA []byte) (int, error)

func (*SendVerificationCode) MarshalToSizedBuffer

func (m *SendVerificationCode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SendVerificationCode) ProtoMessage

func (*SendVerificationCode) ProtoMessage()

func (*SendVerificationCode) Reset

func (m *SendVerificationCode) Reset()

func (*SendVerificationCode) Size

func (m *SendVerificationCode) Size() (n int)

func (*SendVerificationCode) String

func (m *SendVerificationCode) String() string

func (*SendVerificationCode) Unmarshal

func (m *SendVerificationCode) Unmarshal(dAtA []byte) error

func (*SendVerificationCode) XXX_DiscardUnknown

func (m *SendVerificationCode) XXX_DiscardUnknown()

func (*SendVerificationCode) XXX_Marshal

func (m *SendVerificationCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendVerificationCode) XXX_Merge

func (m *SendVerificationCode) XXX_Merge(src proto.Message)

func (*SendVerificationCode) XXX_Size

func (m *SendVerificationCode) XXX_Size() int

func (*SendVerificationCode) XXX_Unmarshal

func (m *SendVerificationCode) XXX_Unmarshal(b []byte) error

type SendVerificationCode_Reply

type SendVerificationCode_Reply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendVerificationCode_Reply) Descriptor

func (*SendVerificationCode_Reply) Descriptor() ([]byte, []int)

func (*SendVerificationCode_Reply) Marshal

func (m *SendVerificationCode_Reply) Marshal() (dAtA []byte, err error)

func (*SendVerificationCode_Reply) MarshalTo

func (m *SendVerificationCode_Reply) MarshalTo(dAtA []byte) (int, error)

func (*SendVerificationCode_Reply) MarshalToSizedBuffer

func (m *SendVerificationCode_Reply) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SendVerificationCode_Reply) ProtoMessage

func (*SendVerificationCode_Reply) ProtoMessage()

func (*SendVerificationCode_Reply) Reset

func (m *SendVerificationCode_Reply) Reset()

func (*SendVerificationCode_Reply) Size

func (m *SendVerificationCode_Reply) Size() (n int)

func (*SendVerificationCode_Reply) String

func (m *SendVerificationCode_Reply) String() string

func (*SendVerificationCode_Reply) Unmarshal

func (m *SendVerificationCode_Reply) Unmarshal(dAtA []byte) error

func (*SendVerificationCode_Reply) XXX_DiscardUnknown

func (m *SendVerificationCode_Reply) XXX_DiscardUnknown()

func (*SendVerificationCode_Reply) XXX_Marshal

func (m *SendVerificationCode_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendVerificationCode_Reply) XXX_Merge

func (m *SendVerificationCode_Reply) XXX_Merge(src proto.Message)

func (*SendVerificationCode_Reply) XXX_Size

func (m *SendVerificationCode_Reply) XXX_Size() int

func (*SendVerificationCode_Reply) XXX_Unmarshal

func (m *SendVerificationCode_Reply) XXX_Unmarshal(b []byte) error

type SendVerificationCode_Request

type SendVerificationCode_Request struct {
	Recipient            string   `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Code                 string   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	NetworkContext       string   `protobuf:"bytes,3,opt,name=network_context,json=networkContext,proto3" json:"network_context,omitempty"`
	Context              string   `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendVerificationCode_Request) Descriptor

func (*SendVerificationCode_Request) Descriptor() ([]byte, []int)

func (*SendVerificationCode_Request) GetCode

func (m *SendVerificationCode_Request) GetCode() string

func (*SendVerificationCode_Request) GetContext

func (m *SendVerificationCode_Request) GetContext() string

func (*SendVerificationCode_Request) GetNetworkContext

func (m *SendVerificationCode_Request) GetNetworkContext() string

func (*SendVerificationCode_Request) GetRecipient

func (m *SendVerificationCode_Request) GetRecipient() string

func (*SendVerificationCode_Request) Marshal

func (m *SendVerificationCode_Request) Marshal() (dAtA []byte, err error)

func (*SendVerificationCode_Request) MarshalTo

func (m *SendVerificationCode_Request) MarshalTo(dAtA []byte) (int, error)

func (*SendVerificationCode_Request) MarshalToSizedBuffer

func (m *SendVerificationCode_Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SendVerificationCode_Request) ProtoMessage

func (*SendVerificationCode_Request) ProtoMessage()

func (*SendVerificationCode_Request) Reset

func (m *SendVerificationCode_Request) Reset()

func (*SendVerificationCode_Request) Size

func (m *SendVerificationCode_Request) Size() (n int)

func (*SendVerificationCode_Request) String

func (*SendVerificationCode_Request) Unmarshal

func (m *SendVerificationCode_Request) Unmarshal(dAtA []byte) error

func (*SendVerificationCode_Request) XXX_DiscardUnknown

func (m *SendVerificationCode_Request) XXX_DiscardUnknown()

func (*SendVerificationCode_Request) XXX_Marshal

func (m *SendVerificationCode_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendVerificationCode_Request) XXX_Merge

func (m *SendVerificationCode_Request) XXX_Merge(src proto.Message)

func (*SendVerificationCode_Request) XXX_Size

func (m *SendVerificationCode_Request) XXX_Size() int

func (*SendVerificationCode_Request) XXX_Unmarshal

func (m *SendVerificationCode_Request) XXX_Unmarshal(b []byte) error

type StateChallenge

type StateChallenge struct {
	Timestamp            []byte   `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Nonce                []byte   `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BertyLink            string   `protobuf:"bytes,3,opt,name=berty_link,json=bertyLink,proto3" json:"berty_link,omitempty"`
	RedirectURI          string   `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	State                string   `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StateChallenge serialized and signed state used when requesting a challenge

func (*StateChallenge) Descriptor

func (*StateChallenge) Descriptor() ([]byte, []int)
func (m *StateChallenge) GetBertyLink() string

func (*StateChallenge) GetNonce

func (m *StateChallenge) GetNonce() []byte

func (*StateChallenge) GetRedirectURI

func (m *StateChallenge) GetRedirectURI() string

func (*StateChallenge) GetState

func (m *StateChallenge) GetState() string

func (*StateChallenge) GetTimestamp

func (m *StateChallenge) GetTimestamp() []byte

func (*StateChallenge) Marshal

func (m *StateChallenge) Marshal() (dAtA []byte, err error)

func (*StateChallenge) MarshalTo

func (m *StateChallenge) MarshalTo(dAtA []byte) (int, error)

func (*StateChallenge) MarshalToSizedBuffer

func (m *StateChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateChallenge) ProtoMessage

func (*StateChallenge) ProtoMessage()

func (*StateChallenge) Reset

func (m *StateChallenge) Reset()

func (*StateChallenge) Size

func (m *StateChallenge) Size() (n int)

func (*StateChallenge) String

func (m *StateChallenge) String() string

func (*StateChallenge) Unmarshal

func (m *StateChallenge) Unmarshal(dAtA []byte) error

func (*StateChallenge) XXX_DiscardUnknown

func (m *StateChallenge) XXX_DiscardUnknown()

func (*StateChallenge) XXX_Marshal

func (m *StateChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateChallenge) XXX_Merge

func (m *StateChallenge) XXX_Merge(src proto.Message)

func (*StateChallenge) XXX_Size

func (m *StateChallenge) XXX_Size() int

func (*StateChallenge) XXX_Unmarshal

func (m *StateChallenge) XXX_Unmarshal(b []byte) error

type StateCode

type StateCode struct {
	Timestamp            []byte       `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BertyLink            string       `protobuf:"bytes,2,opt,name=berty_link,json=bertyLink,proto3" json:"berty_link,omitempty"`
	CodeStrategy         CodeStrategy `` /* 133-byte string literal not displayed */
	Identifier           string       `protobuf:"bytes,4,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Code                 string       `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
	RedirectURI          string       `protobuf:"bytes,6,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	State                string       `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

StateCode serialized and signed state used when requesting a code

func (*StateCode) Descriptor

func (*StateCode) Descriptor() ([]byte, []int)
func (m *StateCode) GetBertyLink() string

func (*StateCode) GetCode

func (m *StateCode) GetCode() string

func (*StateCode) GetCodeStrategy

func (m *StateCode) GetCodeStrategy() CodeStrategy

func (*StateCode) GetIdentifier

func (m *StateCode) GetIdentifier() string

func (*StateCode) GetRedirectURI

func (m *StateCode) GetRedirectURI() string

func (*StateCode) GetState

func (m *StateCode) GetState() string

func (*StateCode) GetTimestamp

func (m *StateCode) GetTimestamp() []byte

func (*StateCode) Marshal

func (m *StateCode) Marshal() (dAtA []byte, err error)

func (*StateCode) MarshalTo

func (m *StateCode) MarshalTo(dAtA []byte) (int, error)

func (*StateCode) MarshalToSizedBuffer

func (m *StateCode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateCode) ProtoMessage

func (*StateCode) ProtoMessage()

func (*StateCode) Reset

func (m *StateCode) Reset()

func (*StateCode) Size

func (m *StateCode) Size() (n int)

func (*StateCode) String

func (m *StateCode) String() string

func (*StateCode) Unmarshal

func (m *StateCode) Unmarshal(dAtA []byte) error

func (*StateCode) XXX_DiscardUnknown

func (m *StateCode) XXX_DiscardUnknown()

func (*StateCode) XXX_Marshal

func (m *StateCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateCode) XXX_Merge

func (m *StateCode) XXX_Merge(src proto.Message)

func (*StateCode) XXX_Size

func (m *StateCode) XXX_Size() int

func (*StateCode) XXX_Unmarshal

func (m *StateCode) XXX_Unmarshal(b []byte) error

type ValidateIdentifier

type ValidateIdentifier struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidateIdentifier) Descriptor

func (*ValidateIdentifier) Descriptor() ([]byte, []int)

func (*ValidateIdentifier) Marshal

func (m *ValidateIdentifier) Marshal() (dAtA []byte, err error)

func (*ValidateIdentifier) MarshalTo

func (m *ValidateIdentifier) MarshalTo(dAtA []byte) (int, error)

func (*ValidateIdentifier) MarshalToSizedBuffer

func (m *ValidateIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidateIdentifier) ProtoMessage

func (*ValidateIdentifier) ProtoMessage()

func (*ValidateIdentifier) Reset

func (m *ValidateIdentifier) Reset()

func (*ValidateIdentifier) Size

func (m *ValidateIdentifier) Size() (n int)

func (*ValidateIdentifier) String

func (m *ValidateIdentifier) String() string

func (*ValidateIdentifier) Unmarshal

func (m *ValidateIdentifier) Unmarshal(dAtA []byte) error

func (*ValidateIdentifier) XXX_DiscardUnknown

func (m *ValidateIdentifier) XXX_DiscardUnknown()

func (*ValidateIdentifier) XXX_Marshal

func (m *ValidateIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidateIdentifier) XXX_Merge

func (m *ValidateIdentifier) XXX_Merge(src proto.Message)

func (*ValidateIdentifier) XXX_Size

func (m *ValidateIdentifier) XXX_Size() int

func (*ValidateIdentifier) XXX_Unmarshal

func (m *ValidateIdentifier) XXX_Unmarshal(b []byte) error

type ValidateIdentifier_Reply

type ValidateIdentifier_Reply struct {
	Sanitized            string   `protobuf:"bytes,1,opt,name=sanitized,proto3" json:"sanitized,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidateIdentifier_Reply) Descriptor

func (*ValidateIdentifier_Reply) Descriptor() ([]byte, []int)

func (*ValidateIdentifier_Reply) GetSanitized

func (m *ValidateIdentifier_Reply) GetSanitized() string

func (*ValidateIdentifier_Reply) Marshal

func (m *ValidateIdentifier_Reply) Marshal() (dAtA []byte, err error)

func (*ValidateIdentifier_Reply) MarshalTo

func (m *ValidateIdentifier_Reply) MarshalTo(dAtA []byte) (int, error)

func (*ValidateIdentifier_Reply) MarshalToSizedBuffer

func (m *ValidateIdentifier_Reply) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidateIdentifier_Reply) ProtoMessage

func (*ValidateIdentifier_Reply) ProtoMessage()

func (*ValidateIdentifier_Reply) Reset

func (m *ValidateIdentifier_Reply) Reset()

func (*ValidateIdentifier_Reply) Size

func (m *ValidateIdentifier_Reply) Size() (n int)

func (*ValidateIdentifier_Reply) String

func (m *ValidateIdentifier_Reply) String() string

func (*ValidateIdentifier_Reply) Unmarshal

func (m *ValidateIdentifier_Reply) Unmarshal(dAtA []byte) error

func (*ValidateIdentifier_Reply) XXX_DiscardUnknown

func (m *ValidateIdentifier_Reply) XXX_DiscardUnknown()

func (*ValidateIdentifier_Reply) XXX_Marshal

func (m *ValidateIdentifier_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidateIdentifier_Reply) XXX_Merge

func (m *ValidateIdentifier_Reply) XXX_Merge(src proto.Message)

func (*ValidateIdentifier_Reply) XXX_Size

func (m *ValidateIdentifier_Reply) XXX_Size() int

func (*ValidateIdentifier_Reply) XXX_Unmarshal

func (m *ValidateIdentifier_Reply) XXX_Unmarshal(b []byte) error

type ValidateIdentifier_Request

type ValidateIdentifier_Request struct {
	Identifier           string   `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidateIdentifier_Request) Descriptor

func (*ValidateIdentifier_Request) Descriptor() ([]byte, []int)

func (*ValidateIdentifier_Request) GetIdentifier

func (m *ValidateIdentifier_Request) GetIdentifier() string

func (*ValidateIdentifier_Request) Marshal

func (m *ValidateIdentifier_Request) Marshal() (dAtA []byte, err error)

func (*ValidateIdentifier_Request) MarshalTo

func (m *ValidateIdentifier_Request) MarshalTo(dAtA []byte) (int, error)

func (*ValidateIdentifier_Request) MarshalToSizedBuffer

func (m *ValidateIdentifier_Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidateIdentifier_Request) ProtoMessage

func (*ValidateIdentifier_Request) ProtoMessage()

func (*ValidateIdentifier_Request) Reset

func (m *ValidateIdentifier_Request) Reset()

func (*ValidateIdentifier_Request) Size

func (m *ValidateIdentifier_Request) Size() (n int)

func (*ValidateIdentifier_Request) String

func (m *ValidateIdentifier_Request) String() string

func (*ValidateIdentifier_Request) Unmarshal

func (m *ValidateIdentifier_Request) Unmarshal(dAtA []byte) error

func (*ValidateIdentifier_Request) XXX_DiscardUnknown

func (m *ValidateIdentifier_Request) XXX_DiscardUnknown()

func (*ValidateIdentifier_Request) XXX_Marshal

func (m *ValidateIdentifier_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidateIdentifier_Request) XXX_Merge

func (m *ValidateIdentifier_Request) XXX_Merge(src proto.Message)

func (*ValidateIdentifier_Request) XXX_Size

func (m *ValidateIdentifier_Request) XXX_Size() int

func (*ValidateIdentifier_Request) XXX_Unmarshal

func (m *ValidateIdentifier_Request) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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