getPublic method

XRPPublicKey getPublic()

Gets the public key associated with this private key.

Implementation

XRPPublicKey getPublic() {
  return XRPPublicKey.fromBytes(_privateKey.publicKey.compressed,
      algorithm: algorithm);
}