Versions in this module Expand all Collapse all v0 v0.0.9 Apr 6, 2026 v0.0.8 Apr 3, 2026 v0.0.7 Mar 28, 2026 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorIAuthGraphKeyExchange + const MethodIAuthGraphKeyExchangeAuthenticationComplete + const MethodIAuthGraphKeyExchangeCreate + const MethodIAuthGraphKeyExchangeFinish + const MethodIAuthGraphKeyExchangeInit + const PubKeyTagPlainKey + const PubKeyTagSignedKey + const TransactionIAuthGraphKeyExchangeAuthenticationComplete + const TransactionIAuthGraphKeyExchangeCreate + const TransactionIAuthGraphKeyExchangeFinish + const TransactionIAuthGraphKeyExchangeInit + type Arc struct + Arc []byte + func (s *Arc) MarshalParcel(p *parcel.Parcel) error + func (s *Arc) UnmarshalParcel(p *parcel.Parcel) error + type AuthGraphKeyExchangeProxy struct + Remote binder.IBinder + func NewAuthGraphKeyExchangeProxy(remote binder.IBinder) *AuthGraphKeyExchangeProxy + func (p *AuthGraphKeyExchangeProxy) AsBinder() binder.IBinder + func (p *AuthGraphKeyExchangeProxy) AuthenticationComplete(ctx context.Context, peerSignature SessionIdSignature, sharedKeys []Arc) ([]Arc, error) + func (p *AuthGraphKeyExchangeProxy) Create(ctx context.Context) (SessionInitiationInfo, error) + func (p *AuthGraphKeyExchangeProxy) Finish(ctx context.Context, peerPubKey PubKey, peerId Identity, ...) (SessionInfo, error) + func (p *AuthGraphKeyExchangeProxy) Init(ctx context.Context, peerPubKey PubKey, peerId Identity, peerNonce []byte, ...) (KeInitResult, error) + type AuthGraphKeyExchangeStub struct + Impl IAuthGraphKeyExchange + Transport binder.VersionAwareTransport + func (s *AuthGraphKeyExchangeStub) Descriptor() string + func (s *AuthGraphKeyExchangeStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type Error int32 + const ErrorIncompatibleProtocolVersion + const ErrorInvalidCertChain + const ErrorInvalidIdentity + const ErrorInvalidKeKey + const ErrorInvalidPeerKeKey + const ErrorInvalidPeerNonce + const ErrorInvalidPrivKeyArcInKey + const ErrorInvalidPubKeyInKey + const ErrorInvalidSharedKeyArcs + const ErrorInvalidSignature + const ErrorMemoryAllocationFailed + const ErrorOK + type IAuthGraphKeyExchange interface + AsBinder func() binder.IBinder + AuthenticationComplete func(ctx context.Context, peerSignature SessionIdSignature, sharedKeys []Arc) ([]Arc, error) + Create func(ctx context.Context) (SessionInitiationInfo, error) + Finish func(ctx context.Context, peerPubKey PubKey, peerId Identity, ...) (SessionInfo, error) + Init func(ctx context.Context, peerPubKey PubKey, peerId Identity, peerNonce []byte, ...) (KeInitResult, error) + func NewAuthGraphKeyExchangeStub(impl IAuthGraphKeyExchangeServer) IAuthGraphKeyExchange + type IAuthGraphKeyExchangeServer interface + AuthenticationComplete func(ctx context.Context, peerSignature SessionIdSignature, sharedKeys []Arc) ([]Arc, error) + Create func(ctx context.Context) (SessionInitiationInfo, error) + Finish func(ctx context.Context, peerPubKey PubKey, peerId Identity, ...) (SessionInfo, error) + Init func(ctx context.Context, peerPubKey PubKey, peerId Identity, peerNonce []byte, ...) (KeInitResult, error) + type Identity struct + Identity []byte + func (s *Identity) MarshalParcel(p *parcel.Parcel) error + func (s *Identity) UnmarshalParcel(p *parcel.Parcel) error + type KeInitResult struct + SessionInfo SessionInfo + SessionInitiationInfo SessionInitiationInfo + func (s *KeInitResult) MarshalParcel(p *parcel.Parcel) error + func (s *KeInitResult) UnmarshalParcel(p *parcel.Parcel) error + type Key struct + ArcFromPBK *Arc + PubKey *PubKey + func (s *Key) MarshalParcel(p *parcel.Parcel) error + func (s *Key) UnmarshalParcel(p *parcel.Parcel) error + type PlainPubKey struct + PlainPubKey []byte + func (s *PlainPubKey) MarshalParcel(p *parcel.Parcel) error + func (s *PlainPubKey) UnmarshalParcel(p *parcel.Parcel) error + type PubKey struct + PlainKey PlainPubKey + SignedKey SignedPubKey + Tag int32 + func (u *PubKey) GetPlainKey() (PlainPubKey, bool) + func (u *PubKey) GetSignedKey() (SignedPubKey, bool) + func (u *PubKey) MarshalParcel(p *parcel.Parcel) error + func (u *PubKey) SetPlainKey(v PlainPubKey) + func (u *PubKey) SetSignedKey(v SignedPubKey) + func (u *PubKey) UnmarshalParcel(p *parcel.Parcel) error + type SessionIdSignature struct + Signature []byte + func (s *SessionIdSignature) MarshalParcel(p *parcel.Parcel) error + func (s *SessionIdSignature) UnmarshalParcel(p *parcel.Parcel) error + type SessionInfo struct + SessionId []byte + SharedKeys []Arc + Signature SessionIdSignature + func (s *SessionInfo) MarshalParcel(p *parcel.Parcel) error + func (s *SessionInfo) UnmarshalParcel(p *parcel.Parcel) error + type SessionInitiationInfo struct + Identity Identity + Key Key + Nonce []byte + Version int32 + func (s *SessionInitiationInfo) MarshalParcel(p *parcel.Parcel) error + func (s *SessionInitiationInfo) UnmarshalParcel(p *parcel.Parcel) error + type SignedPubKey struct + SignedPubKey []byte + func (s *SignedPubKey) MarshalParcel(p *parcel.Parcel) error + func (s *SignedPubKey) UnmarshalParcel(p *parcel.Parcel) error