Principal
A principal is an entity that can be authenticated by the Internet Computer blockchain. Principals that interact with the Internet Computer blockchain often do so via an identity.
To create a Principal object in Java one of these static methods can be used.
1) To create Principal from Java String object.
2) To create Principal from Java byte[] array object.
3) To create Management Canister Principal.
4) To create Anonymous Principal.
5) To create Self Authenticating Principal from public key byte[] array object.
Last updated