java.security
Class SignedObject
java.lang.Object
java.security.SignedObject
- All Implemented Interfaces:
- Serializable
public final class SignedObject
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignedObject
public SignedObject(Serializable object,
PrivateKey signingKey,
Signature signingEngine)
throws IOException,
InvalidKeyException,
SignatureException
- Throws:
IOException
InvalidKeyException
SignatureException
getObject
public Object getObject()
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
getSignature
public byte[] getSignature()
getAlgorithm
public String getAlgorithm()
verify
public boolean verify(PublicKey verificationKey,
Signature verificationEngine)
throws InvalidKeyException,
SignatureException
- Throws:
InvalidKeyException
SignatureException
Please submit a feedback, bug or feature