public class PublicKey extends AbstractKey
key| Constructor and Description |
|---|
PublicKey(byte[] key)
PublicKey constructor with byte[].
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(byte[] message,
byte[] signature)
indicates if a message and a signature match.
|
getKeypublic PublicKey(byte[] key)
key - public boolean verify(byte[] message,
byte[] signature)
throws InvalidKeyException,
SignatureException,
NoSuchAlgorithmException
message - signature - NoSuchAlgorithmExceptionInvalidKeyExceptionSignatureExceptionCopyright © 2020 Transchain. All rights reserved.