Serializable
public final class SignedObject extends Object implements Serializable
Constructor | Description |
---|---|
SignedObject(Serializable var0,
PrivateKey var1,
Signature var2) |
Modifier and Type | Method | Description |
---|---|---|
String |
getAlgorithm() |
|
Object |
getObject() |
|
byte[] |
getSignature() |
|
boolean |
verify(PublicKey var0,
Signature var1) |
public SignedObject(Serializable var0, PrivateKey var1, Signature var2) throws IOException, InvalidKeyException, SignatureException
public String getAlgorithm()
public Object getObject() throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public byte[] getSignature()
public boolean verify(PublicKey var0, Signature var1) throws InvalidKeyException, SignatureException