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 ManagementId ¶
type ManagementId struct{}
func (*ManagementId) Bytes ¶
func (principalId *ManagementId) Bytes() []byte
func (*ManagementId) String ¶
func (principalId *ManagementId) String() string
type PrincipalId ¶
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
Click to show internal directories.
Click to hide internal directories.