public interface PublicKeyIdentity
| Modifier and Type | Method and Description |
|---|---|
java.security.PublicKey |
getPublicKey() |
byte[] |
sign(SessionContext session,
byte[] data)
Proves the public key identity by signing the given data
|
java.security.PublicKey getPublicKey()
PublicKey identity valuebyte[] sign(SessionContext session, byte[] data) throws java.lang.Exception
session - The SessionContext for calling this method - may be null if not called within a
session contextdata - Data to signjava.lang.Exception - If failed to sign the data