Class PublicKey

  • All Implemented Interfaces:
    com.syntifi.near.borshj.Borsh

    public class PublicKey
    extends KeySig
    implements com.syntifi.near.borshj.Borsh
    Holds a Near PublicKey
    Since:
    0.0.1
    Author:
    Alexandre Carvalho, Andre Bertolace
    • Constructor Detail

      • PublicKey

        public PublicKey()
      • PublicKey

        public PublicKey​(KeyType keyType,
                         byte[] data)
        Instantiate a Public Key
        Parameters:
        keyType - the KeyType
        data - the key bytes
    • Method Detail

      • getPublicKey

        public com.syntifi.crypto.key.AbstractPublicKey getPublicKey()
      • getPublicKeyFromJson

        public static PublicKey getPublicKeyFromJson​(java.lang.String base58String)
      • getJsonPublicKey

        public java.lang.String getJsonPublicKey()