Principal class

Constructors

Principal(Uint8List bytes)
Principal.fromPublicKey(Uint8List publicKey, [IcpWalletType? walletType])
factory

Properties

bytes → Uint8List
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toText() → String

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

encodeLen(dynamic buf, dynamic offset, dynamic len) → int
encodeLenBytes(dynamic len) → int
getRawPublicKey(Uint8List publicKey, [IcpWalletType? walletType]) → dynamic
splitStringIntoGroups(String input) → String
wrapDER(Uint8List payload, Uint8List oid) → Uint8List