Package org.symbol.sdk
Class CryptoTypes.PublicKey
java.lang.Object
org.symbol.sdk.ByteArray
org.symbol.sdk.CryptoTypes.PublicKey
- All Implemented Interfaces:
Serializer
- Enclosing class:
CryptoTypes
- PublicKey
- Represents a public key.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPublicKey(byte[] bytes) Creates a public key from raw bytes.Creates a public key from a hex string.PublicKey(CryptoTypes.PublicKey other) Copy constructor. -
Method Summary
-
Field Details
-
SIZE
public static final int SIZEByte size of raw public key.- See Also:
-
-
Constructor Details
-
PublicKey
public PublicKey(byte[] bytes) Creates a public key from raw bytes.- Parameters:
bytes- Input byte array.
-
PublicKey
Creates a public key from a hex string.- Parameters:
hex- Input string.
-
PublicKey
Copy constructor.- Parameters:
other- Other public key.
-