Expand description
Platform-owned principal representation and non-cryptographic conversions.
Adapted from ic_principal 0.1.5 under Apache-2.0; see NOTICE.md. No Candid marker handling or generic range stepping is implemented. Required Candid DTOs must use ExternalPrincipal, converting at the boundary:
ⓘ
ic_platform::candid::contract::encode_one(ic_platform::Principal::anonymous()).unwrap();Structs§
- External
Principal - Original registry identity required by external IC clients and DTOs. Convert explicitly at the boundary; owned application payloads use Principal. Generic ID on Internet Computer.
- Principal
- Generic ID on Internet Computer.
Enums§
- External
Principal Error - Original parse errors for the explicitly external principal identity.
An error happened while encoding, decoding or serializing a
Principal. - Principal
Error - An error happened while encoding, decoding or serializing a
Principal.