principal

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnonymousId

type AnonymousId struct{}

func (*AnonymousId) Bytes

func (principalId *AnonymousId) Bytes() []byte

func (*AnonymousId) String

func (principalId *AnonymousId) String() string

type DerivedId

type DerivedId struct {
	// contains filtered or unexported fields
}

func (*DerivedId) Bytes

func (principalId *DerivedId) Bytes() []byte

func (*DerivedId) String

func (principalId *DerivedId) String() string

type ManagementId

type ManagementId struct{}

func (*ManagementId) Bytes

func (principalId *ManagementId) Bytes() []byte

func (*ManagementId) String

func (principalId *ManagementId) String() string

type OpaqueId

type OpaqueId struct {
	// contains filtered or unexported fields
}

func (*OpaqueId) Bytes

func (principalId *OpaqueId) Bytes() []byte

func (*OpaqueId) String

func (principalId *OpaqueId) String() string

type PrincipalId

type PrincipalId interface {
	Bytes() []byte
	String() string
}

func FromECPubKey

func FromECPubKey(pubKey *btcec.PublicKey) (PrincipalId, error)

func FromString

func FromString(str string) (PrincipalId, error)

func NewSelfAuthenticatingId

func NewSelfAuthenticatingId(der []byte) PrincipalId

type SelfAuthenticatingId

type SelfAuthenticatingId struct {
	// contains filtered or unexported fields
}

func (*SelfAuthenticatingId) Bytes

func (principalId *SelfAuthenticatingId) Bytes() []byte

func (*SelfAuthenticatingId) String

func (principalId *SelfAuthenticatingId) String() string

type UnassignedId

type UnassignedId struct {
	// contains filtered or unexported fields
}

func (*UnassignedId) Bytes

func (principalId *UnassignedId) Bytes() []byte

func (*UnassignedId) String

func (principalId *UnassignedId) String() string

Jump to

Keyboard shortcuts

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