Uses of Class
java.security.SignatureException
| Package | Description |
|---|---|
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| java.security.cert |
This package provides all the classes and all the interfaces needed to generate, administer and verify
X.509 certificates.
|
| javax.security.cert |
This package is provided only for compatibility reasons.
|
| org.apache.harmony.security.provider.cert | |
| org.apache.harmony.security.provider.crypto | |
| org.bouncycastle.jcajce.provider.asymmetric.dsa | |
| org.bouncycastle.jcajce.provider.asymmetric.rsa | |
| org.bouncycastle.jcajce.provider.asymmetric.util | |
| org.bouncycastle.jce | |
| org.bouncycastle.jce.netscape | |
| org.bouncycastle.jce.provider | |
| org.bouncycastle.x509 | |
| org.conscrypt |
-
Uses of SignatureException in java.security
Methods in java.security that throw SignatureException Modifier and Type Method Description protected abstract byte[]SignatureSpi. engineSign()Generates and returns the signature of all updated data.protected intSignatureSpi. engineSign(byte[] outbuf, int offset, int len)Generates and stores the signature of all updated data in the providedbyte[]at the specified position with the specified length.protected abstract voidSignatureSpi. engineUpdate(byte b)Updates the data to be verified or to be signed, using the specifiedbyte.protected abstract voidSignatureSpi. engineUpdate(byte[] b, int off, int len)Updates the data to be verified or to be signed, using the givenbyte[], starting form the specified index for the specified length.protected abstract booleanSignatureSpi. engineVerify(byte[] sigBytes)Indicates whether the givensigBytescan be verified using the public key or a certificate of the signer.protected booleanSignatureSpi. engineVerify(byte[] sigBytes, int offset, int length)Indicates whether the givensigBytesstarting at indexoffsetwithlengthbytes can be verified using the public key or a certificate of the signer.byte[]Signature. sign()Generates and returns the signature of all updated data.intSignature. sign(byte[] outbuf, int offset, int len)Generates and stores the signature of all updated data in the providedbyte[]at the specified position with the specified length.voidSignature. update(byte b)Updates the data to be verified or to be signed, using the specifiedbyte.voidSignature. update(byte[] data)Updates the data to be verified or to be signed, using the specifiedbyte[].voidSignature. update(byte[] data, int off, int len)Updates the data to be verified or to be signed, using the givenbyte[], starting form the specified index for the specified length.voidSignature. update(ByteBuffer data)Updates the data to be verified or to be signed, using the specifiedByteBuffer.booleanSignature. verify(byte[] signature)Indicates whether the givensignaturecan be verified using the public key or a certificate of the signer.booleanSignature. verify(byte[] signature, int offset, int length)Indicates whether the givensignaturestarting at indexoffsetwithlengthbytes can be verified using the public key or a certificate of the signer.booleanSignedObject. verify(PublicKey verificationKey, Signature verificationEngine)Indicates whether the contained signature for the encapsulated object is valid.Constructors in java.security that throw SignatureException Constructor Description SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)Constructs a new instance ofSignedObjectwith the target object, the private key and the engine to compute the signature. -
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 with the given public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed with the given public key.abstract voidX509CRL. verify(PublicKey key)Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified public key.abstract voidX509CRL. verify(PublicKey key, String sigProvider)Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified 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)Verifies that this certificate was signed with the given public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed with the given public key. -
Uses of SignatureException in org.apache.harmony.security.provider.cert
Methods in org.apache.harmony.security.provider.cert that throw SignatureException Modifier and Type Method Description voidX509CertImpl. verify(PublicKey key)voidX509CertImpl. verify(PublicKey key, String sigProvider)voidX509CRLImpl. verify(PublicKey key)voidX509CRLImpl. verify(PublicKey key, String sigProvider) -
Uses of SignatureException in org.apache.harmony.security.provider.crypto
Methods in org.apache.harmony.security.provider.crypto that throw SignatureException Modifier and Type Method Description protected byte[]SHA1withDSA_SignatureImpl. engineSign()Returns signature bytes as byte array containing ASN1 representation for two BigInteger objects which is SEQUENCE of two INTEGERS.protected voidSHA1withDSA_SignatureImpl. engineUpdate(byte b)Updates data to sign or to verify.protected voidSHA1withDSA_SignatureImpl. engineUpdate(byte[] b, int off, int len)Updates data to sign or to verify.protected booleanSHA1withDSA_SignatureImpl. engineVerify(byte[] sigBytes)Verifies the signature bytes.protected booleanSHA1withDSA_SignatureImpl. engineVerify(byte[] sigBytes, int offset, int length)Verifies the signature bytes. -
Uses of SignatureException in org.bouncycastle.jcajce.provider.asymmetric.dsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.dsa that throw SignatureException Modifier and Type Method Description protected byte[]DSASigner. engineSign()protected voidDSASigner. engineUpdate(byte b)protected voidDSASigner. engineUpdate(byte[] b, int off, int len)protected booleanDSASigner. engineVerify(byte[] sigBytes) -
Uses of SignatureException in org.bouncycastle.jcajce.provider.asymmetric.rsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.rsa that throw SignatureException Modifier and Type Method Description protected byte[]DigestSignatureSpi. engineSign()protected voidDigestSignatureSpi. engineUpdate(byte b)protected voidDigestSignatureSpi. engineUpdate(byte[] b, int off, int len)protected booleanDigestSignatureSpi. engineVerify(byte[] sigBytes) -
Uses of SignatureException in org.bouncycastle.jcajce.provider.asymmetric.util
Methods in org.bouncycastle.jcajce.provider.asymmetric.util that throw SignatureException Modifier and Type Method Description protected byte[]DSABase. engineSign()protected voidDSABase. engineUpdate(byte b)protected voidDSABase. engineUpdate(byte[] b, int off, int len)protected booleanDSABase. engineVerify(byte[] sigBytes) -
Uses of SignatureException in org.bouncycastle.jce
Methods in org.bouncycastle.jce that throw SignatureException Modifier and Type Method Description booleanPKCS10CertificationRequest. verify()Deprecated.verify the request using the BC provider.booleanPKCS10CertificationRequest. verify(String provider)Deprecated.verify the request using the passed in provider.booleanPKCS10CertificationRequest. verify(PublicKey pubKey, String provider)Deprecated.verify the request using the passed in public key and the provider..Constructors in org.bouncycastle.jce that throw SignatureException Constructor Description PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider. -
Uses of SignatureException in org.bouncycastle.jce.netscape
Methods in org.bouncycastle.jce.netscape that throw SignatureException Modifier and Type Method Description voidNetscapeCertRequest. sign(PrivateKey priv_key)voidNetscapeCertRequest. sign(PrivateKey priv_key, SecureRandom rand)booleanNetscapeCertRequest. verify(String challenge) -
Uses of SignatureException in org.bouncycastle.jce.provider
Methods in org.bouncycastle.jce.provider that throw SignatureException Modifier and Type Method Description voidX509CertificateObject. verify(PublicKey key)voidX509CertificateObject. verify(PublicKey key, String sigProvider)voidX509CRLObject. verify(PublicKey key)voidX509CRLObject. verify(PublicKey key, String sigProvider) -
Uses of SignatureException in org.bouncycastle.x509
Methods in org.bouncycastle.x509 that throw SignatureException Modifier and Type Method Description X509CertificateX509V1CertificateGenerator. generate(PrivateKey key)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider.X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider and the passed in source of randomnessX509CertificateX509V3CertificateGenerator. generate(PrivateKey key)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing and the supplied source of randomness, if required.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key)Deprecated.use generate(key, "BC")X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, SecureRandom random)Deprecated.use generate(key, random, "BC")X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key)Deprecated.use generate(key, "BC")X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, SecureRandom random)Deprecated.use generate(key, random, "BC")voidX509AttributeCertificate. verify(PublicKey key, String provider)voidX509V2AttributeCertificate. verify(PublicKey key, String provider)Deprecated. -
Uses of SignatureException in org.conscrypt
Methods in org.conscrypt that throw SignatureException Modifier and Type Method Description protected byte[]OpenSSLSignature. engineSign()protected byte[]OpenSSLSignatureRawRSA. engineSign()protected booleanOpenSSLSignature. engineVerify(byte[] sigBytes)protected booleanOpenSSLSignatureRawRSA. engineVerify(byte[] sigBytes)static intNativeCrypto. RSA_private_decrypt(int flen, byte[] from, byte[] to, long pkey, int padding)static intNativeCrypto. RSA_public_decrypt(int flen, byte[] from, byte[] to, long pkey, int padding)voidOpenSSLX509Certificate. verify(PublicKey key)voidOpenSSLX509Certificate. verify(PublicKey key, String sigProvider)voidOpenSSLX509CRL. verify(PublicKey key)voidOpenSSLX509CRL. verify(PublicKey key, String sigProvider)