Uses of Class
java.security.SignatureException
Package
Description
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides classes for public key certificates.
-
Uses of SignatureException in java.security
Modifier and TypeMethodDescriptionprotected 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 bufferoutbuf
, starting atoffset
.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 boolean
SignatureSpi.engineVerify
(byte[] sigBytes) Verifies the passed-in signature.protected 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.final byte[]
Signature.sign()
Returns the signature bytes of all the data updated.final int
Signature.sign
(byte[] outbuf, int offset, int len) Finishes the signature operation and stores the resulting signature bytes in the provided bufferoutbuf
, starting atoffset
.final void
Signature.update
(byte b) Updates the data to be signed or verified by a byte.final void
Signature.update
(byte[] data) Updates the data to be signed or verified, using the specified array of bytes.final 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.final void
Signature.update
(ByteBuffer data) Updates the data to be signed or verified using the specified ByteBuffer.final boolean
Signature.verify
(byte[] signature) Verifies the passed-in signature.final 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.boolean
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.ModifierConstructorDescriptionSignedObject
(Serializable object, PrivateKey signingKey, Signature signingEngine) Constructs a SignedObject from any Serializable object. -
Uses of SignatureException in java.security.cert
Modifier and TypeMethodDescriptionabstract void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract void
Verifies that this CRL was signed using the private key that corresponds to the given public key.abstract void
Verifies that this CRL was signed using the private key that corresponds to the given public key.void
Verifies that this CRL was signed using the private key that corresponds to the given public key. -
Uses of SignatureException in javax.security.cert
Modifier and TypeMethodDescriptionabstract void
Deprecated, for removal: This API element is subject to removal in a future version.Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract void
Deprecated, for removal: This API element is subject to removal in a future version.Verifies that this certificate was signed using the private key that corresponds to the specified public key.