Uses of Class java.security.SignatureException

Uses in package java.security.cert

Methods which throw type java.security.SignatureException

void
Verifies that this Certificate was properly signed with the PublicKey that corresponds to its private key.
void
Verifies that this CRL was properly signed with the PublicKey that corresponds to its private key.
void
Certificate.verify(PublicKey key, String sigProvider)
Verifies that this Certificate was properly signed with the PublicKey that corresponds to its private key and uses the signature engine provided by the provider.
void
X509CRL.verify(PublicKey key, String sigProvider)
Verifies that this CRL was properly signed with the PublicKey that corresponds to its private key and uses the signature engine provided by the provider.

Uses in package javax.security.cert

Methods which throw type java.security.SignatureException

void
Verifies the signature of this certificate.
void
Certificate.verify(PublicKey key, String sigProvider)
Verifies the signature of this certificate, using the specified security provider.

Uses in package java.security

Constructors which throw type java.security.SignatureException

SignedObject.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
Constructs a SignedObject from any Serializable object.

Methods which throw type java.security.SignatureException

byte[]
Returns the signature bytes of all the data updated so far.
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 .
void
Updates the data to be signed or verified using the specified byte.
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.
boolean
SignatureSpi.engineVerify(byte[] sigBytes)
Verifies the passed-in signature.
boolean
SignatureSpi.engineVerify(byte[] sigBytes, int offset, int length)
Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.

Note: Subclasses should overwrite the default implementation.

byte[]
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 .
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.
boolean
Signature.verify(byte[] signature)
Verifies the passed-in signature.

A call to this method resets this signature object to the state it was in when previously initialized for verification via a call to initVerify(PublicKey).

boolean
Signature.verify(byte[] signature, int offset, int length)
Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.

A call to this method resets this signature object to the state it was in when previously initialized for verification via a call to initVerify(PublicKey).

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.