Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AnonymousID = Principal([]byte{0x04})
AnonymousID is used for the anonymous caller. It can be used in call and query requests without a signature.
Functions ¶
This section is empty.
Types ¶
type Principal ¶
type Principal []byte
Principal are generic identifiers for canisters, users and possibly other concepts in the future.
func NewSelfAuthenticating ¶
NewSelfAuthenticating returns a self authenticating principal identifier based on the given public key.
Click to show internal directories.
Click to hide internal directories.