Constructs a new PublicKey instance.
Optionalobj: anyReturns if the provied public key is equal to this public key.
The public key to compare with.
true if the public keys are equal, false otherwise.
Serializes the instance to a hexadecimal string.
A hexadecimal string representation of the instance.
Returns the size of the underlying C++ object.
The size of the underlying C++ object in bytes.
Returns a string representation of the instance.
A string representation of the instance.
Returnsthe underlying C++ object.
The underlying C++ object.
StaticdeserializeStaticfromConstucts a new instance using the provided object.
The object to use for the new instance.
A new instance of the class.
StaticfromConstructs a new instance using the provided object and size.
The object to use for the new instance.
The size of the object.
A new instance of the class.
StaticfromStaticfromStaticrandom
Represents an element in the BLS12-381 G1 curve group that is used as a public key.
Examples: