public interface PublicKeyIdentity
| Modifier and Type | Method and Description |
|---|---|
java.security.PublicKey |
getPublicKey() |
byte[] |
sign(byte[] data)
Proves the public key identity by signing the given data
|
java.security.PublicKey getPublicKey()
PublicKey identity valuebyte[] sign(byte[] data)
throws java.lang.Exception
data - Data to signjava.lang.Exception - If failed to sign the data