Class PublicKey


  • public final class PublicKey
    extends AbstractKey
    Represent a public key in a digital signature system.
    • Method Detail

      • fromBytes

        public static PublicKey fromBytes​(byte[] bytes)
        Creates a PublicKey from a byte array. The array is defensively copied.
      • fromHexString

        public static PublicKey fromHexString​(String stringKey)
        Creates a PublicKey from a hexadecimal string.