Class CryptoTypes.PrivateKey

java.lang.Object
org.symbol.sdk.ByteArray
org.symbol.sdk.CryptoTypes.PrivateKey
All Implemented Interfaces:

Serializer

Enclosing class:

CryptoTypes


public static final class CryptoTypes.PrivateKey extends ByteArray
PrivateKey

Represents a private key.

  • Field Details

  • Constructor Details

    • PrivateKey

      public PrivateKey(byte[] bytes)
      Creates a private key from raw bytes.
      Parameters:

      bytes - Input byte array.

    • PrivateKey

      public PrivateKey(String hex)
      Creates a private key from a hex string.
      Parameters:

      hex - Input string.

  • Method Details