Uses of Class
java.security.SignatureException
-
Packages that use SignatureException Package Description java.security Provides the classes and interfaces for the security framework.java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.javax.security.cert Provides classes for public key certificates. -
-
Uses of SignatureException in java.security
Methods in java.security that throw SignatureException Modifier and Type Method Description protected abstract byte[]SignatureSpi. engineSign()Returns the signature bytes of all the data updated so far.protected intSignatureSpi. engineSign(byte[] outbuf, int offset, int len)Finishes this signature operation and stores the resulting signature bytes in the provided bufferoutbuf, starting atoffset.protected abstract voidSignatureSpi. engineUpdate(byte b)Updates the data to be signed or verified using the specified byte.protected abstract voidSignatureSpi. 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 booleanSignatureSpi. engineVerify(byte[] sigBytes)Verifies the passed-in signature.protected booleanSignatureSpi. engineVerify(byte[] sigBytes, int offset, int length)Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.byte[]Signature. sign()Returns the signature bytes of all the data updated.intSignature. sign(byte[] outbuf, int offset, int len)Finishes the signature operation and stores the resulting signature bytes in the provided bufferoutbuf, starting atoffset.voidSignature. update(byte b)Updates the data to be signed or verified by a byte.voidSignature. update(byte[] data)Updates the data to be signed or verified, using the specified array of bytes.voidSignature. 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.voidSignature. update(ByteBuffer data)Updates the data to be signed or verified using the specified ByteBuffer.booleanSignature. verify(byte[] signature)Verifies the passed-in signature.booleanSignature. verify(byte[] signature, int offset, int length)Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.booleanSignedObject. 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.Constructors in java.security that throw SignatureException Constructor Description 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 Modifier and Type Method Description abstract voidCertificate. verify(PublicKey key)Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed using the private key that corresponds to the specified public key.voidCertificate. verify(PublicKey key, Provider sigProvider)Verifies that this certificate was signed using the private key that corresponds to the specified public key.voidX509Certificate. verify(PublicKey key, Provider sigProvider)Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract voidX509CRL. verify(PublicKey key)Verifies that this CRL was signed using the private key that corresponds to the given public key.abstract voidX509CRL. verify(PublicKey key, String sigProvider)Verifies that this CRL was signed using the private key that corresponds to the given public key.voidX509CRL. verify(PublicKey key, Provider sigProvider)Verifies that this CRL was signed using the private key that corresponds to the given public key. -
Uses of SignatureException in javax.security.cert
Methods in javax.security.cert that throw SignatureException Modifier and Type Method Description abstract voidCertificate. verify(PublicKey key)Deprecated.Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Deprecated.Verifies that this certificate was signed using the private key that corresponds to the specified public key.
-