Build 1.0_r1(from source)

java.security
Class SignedObject

java.lang.Object
  extended by java.security.SignedObject
All Implemented Interfaces:
Serializable

public final class SignedObject
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
           
 
Method Summary
 String getAlgorithm()
           
 Object getObject()
           
 byte[] getSignature()
           
 boolean verify(PublicKey verificationKey, Signature verificationEngine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignedObject

public SignedObject(Serializable object,
                    PrivateKey signingKey,
                    Signature signingEngine)
             throws IOException,
                    InvalidKeyException,
                    SignatureException
Throws:
IOException
InvalidKeyException
SignatureException
Method Detail

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

Build 1.0_r1(from source)

Please submit a feedback, bug or feature