Java Platform 1.2

Uses of Class
java.security.SignatureException

Packages that use SignatureException
java.security Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates. 
 

Uses of SignatureException in java.security
 

Methods in java.security that throw SignatureException
 boolean SignedObject.verify(PublicKey verificationKey, Signature verificationEngine)
          Verifies that the signature in this SignedObject is the valid signature for the object stored inside, with the given verification key, using the designated verification engine.
protected abstract  void SignatureSpi.engineUpdate(byte b)
          Updates the data to be signed or verified using the specified byte.
protected abstract  void SignatureSpi.engineUpdate(byte[] b, int off, int len)
          Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.
protected abstract  byte[] SignatureSpi.engineSign()
          Returns the signature bytes of all the data updated so far.
protected  int SignatureSpi.engineSign(byte[] outbuf, int offset, int len)
          Finishes this signature operation and stores the resulting signature bytes in the provided buffer outbuf, starting at offset.
protected abstract  boolean SignatureSpi.engineVerify(byte[] sigBytes)
          Verifies the passed-in signature.
 byte[] Signature.sign()
          Returns the signature bytes of all the data updated.
 int Signature.sign(byte[] outbuf, int offset, int len)
          Finishes the signature operation and stores the resulting signature bytes in the provided buffer outbuf, starting at offset.
 boolean Signature.verify(byte[] signature)
          Verifies the passed-in signature.
 void Signature.update(byte b)
          Updates the data to be signed or verified by a byte.
 void Signature.update(byte[] data)
          Updates the data to be signed or verified, using the specified array of bytes.
 void Signature.update(byte[] data, int off, int len)
          Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.
 

Constructors in java.security that throw SignatureException
SignedObject.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
          Constructs a SignedObject from any Serializable object.
 

Uses of SignatureException in java.security.cert
 

Methods in java.security.cert that throw SignatureException
abstract  void Certificate.verify(PublicKey key)
          Verifies that this certificate was signed using the private key that corresponds to the specified public key.
abstract  void Certificate.verify(PublicKey key, String sigProvider)
          Verifies that this certificate was signed using the private key that corresponds to the specified public key.
abstract  void X509CRL.verify(PublicKey key)
          Verifies that this CRL was signed using the private key that corresponds to the given public key.
abstract  void X509CRL.verify(PublicKey key, String sigProvider)
          Verifies that this CRL was signed using the private key that corresponds to the given public key.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.