Uses of Class
org.apache.xml.security.signature.XMLSignatureException
Packages that use XMLSignatureException
Package
Description
-
Uses of XMLSignatureException in org.apache.xml.security.algorithms
Methods in org.apache.xml.security.algorithms that throw XMLSignatureExceptionModifier and TypeMethodDescriptionprotected abstract void
SignatureAlgorithmSpi.engineInitSign
(Key signingKey) Proxy method forSignature.initSign(java.security.PrivateKey)
which is executed on the internalSignature
object.protected abstract void
SignatureAlgorithmSpi.engineInitSign
(Key signingKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)
which is executed on the internalSignature
object.protected abstract void
SignatureAlgorithmSpi.engineInitSign
(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forMac
which is executed on the internalMac.init(Key)
object.protected abstract void
SignatureAlgorithmSpi.engineInitVerify
(Key verificationKey) Method engineInitVerifyprotected abstract void
SignatureAlgorithmSpi.engineSetHMACOutputLength
(int HMACOutputLength) Method engineSetHMACOutputLengthprotected abstract void
SignatureAlgorithmSpi.engineSetParameter
(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internalSignature
object.protected abstract byte[]
SignatureAlgorithmSpi.engineSign()
Proxy method forSignature.sign()
which is executed on the internalSignature
object.protected abstract void
SignatureAlgorithmSpi.engineUpdate
(byte input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected abstract void
SignatureAlgorithmSpi.engineUpdate
(byte[] input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected abstract void
SignatureAlgorithmSpi.engineUpdate
(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)
which is executed on the internalSignature
object.protected abstract boolean
SignatureAlgorithmSpi.engineVerify
(byte[] signature) Proxy method forSignature.verify(byte[])
which is executed on the internalSignature
object.static MessageDigestAlgorithm
MessageDigestAlgorithm.getInstance
(Document doc, String algorithmURI) Factory method for constructing a message digest algorithm by name.void
Proxy method forSignature.initSign(java.security.PrivateKey)
which is executed on the internalSignature
object.void
SignatureAlgorithm.initSign
(Key signingKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)
which is executed on the internalSignature
object.void
SignatureAlgorithm.initSign
(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forSignature.initSign(java.security.PrivateKey)
which is executed on the internalSignature
object.void
SignatureAlgorithm.initVerify
(Key verificationKey) Proxy method forSignature.initVerify(java.security.PublicKey)
which is executed on the internalSignature
object.static void
SignatureAlgorithm.register
(String algorithmURI, Class<? extends SignatureAlgorithmSpi> implementingClass) Registers implementing class of the SignatureAlgorithm with algorithmURIstatic void
Registers implementing class of the SignatureAlgorithm with algorithmURIvoid
SignatureAlgorithm.setParameter
(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internalSignature
object.byte[]
SignatureAlgorithm.sign()
Proxy method forSignature.sign()
which is executed on the internalSignature
object.void
SignatureAlgorithm.update
(byte input) Proxy method forSignature.update(byte)
which is executed on the internalSignature
object.void
SignatureAlgorithm.update
(byte[] input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.void
SignatureAlgorithm.update
(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)
which is executed on the internalSignature
object.boolean
SignatureAlgorithm.verify
(byte[] signature) Proxy method forSignature.verify(byte[])
which is executed on the internalSignature
object. -
Uses of XMLSignatureException in org.apache.xml.security.algorithms.implementations
Methods in org.apache.xml.security.algorithms.implementations that throw XMLSignatureExceptionModifier and TypeMethodDescriptionprotected void
IntegrityHmac.engineInitSign
(Key secretKey) Method engineInitSignprotected void
IntegrityHmac.engineInitSign
(Key secretKey, SecureRandom secureRandom) Method engineInitSignprotected void
IntegrityHmac.engineInitSign
(Key secretKey, AlgorithmParameterSpec algorithmParameterSpec) Method engineInitSignprotected void
SignatureBaseRSA.engineInitSign
(Key privateKey) Proxy method forSignature.initSign(java.security.PrivateKey)
which is executed on the internalSignature
object.protected void
SignatureBaseRSA.engineInitSign
(Key privateKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)
which is executed on the internalSignature
object.protected void
SignatureBaseRSA.engineInitSign
(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forMac
which is executed on the internalMac.init(Key)
object.protected void
SignatureDSA.engineInitSign
(Key privateKey) Proxy method forSignature.initSign(java.security.PrivateKey)
which is executed on the internalSignature
object.protected void
SignatureDSA.engineInitSign
(Key privateKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)
which is executed on the internalSignature
object.protected void
SignatureDSA.engineInitSign
(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Method engineInitSignprotected void
SignatureECDSA.engineInitSign
(Key privateKey) Proxy method forSignature.initSign(java.security.PrivateKey)
which is executed on the internalSignature
object.protected void
SignatureECDSA.engineInitSign
(Key privateKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)
which is executed on the internalSignature
object.protected void
SignatureECDSA.engineInitSign
(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forMac
which is executed on the internalMac.init(Key)
object.protected void
IntegrityHmac.engineInitVerify
(Key secretKey) Proxy method forSignature.initVerify(java.security.PublicKey)
which is executed on the internalSignature
object.protected void
SignatureBaseRSA.engineInitVerify
(Key publicKey) Method engineInitVerifyprotected void
SignatureDSA.engineInitVerify
(Key publicKey) Method engineInitVerifyprotected void
SignatureECDSA.engineInitVerify
(Key publicKey) Method engineInitVerifyprotected void
SignatureBaseRSA.engineSetHMACOutputLength
(int HMACOutputLength) Method engineSetHMACOutputLengthprotected void
SignatureDSA.engineSetHMACOutputLength
(int HMACOutputLength) Method engineSetHMACOutputLengthprotected void
SignatureECDSA.engineSetHMACOutputLength
(int HMACOutputLength) Method engineSetHMACOutputLengthprotected void
IntegrityHmac.engineSetParameter
(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internalSignature
object.protected void
SignatureBaseRSA.engineSetParameter
(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internalSignature
object.protected void
SignatureDSA.engineSetParameter
(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internalSignature
object.protected void
SignatureECDSA.engineSetParameter
(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internalSignature
object.protected byte[]
IntegrityHmac.engineSign()
Proxy method forSignature.sign()
which is executed on the internalSignature
object.protected byte[]
SignatureBaseRSA.engineSign()
Proxy method forSignature.sign()
which is executed on the internalSignature
object.protected byte[]
SignatureDSA.engineSign()
Proxy method forSignature.sign()
which is executed on the internalSignature
object.protected byte[]
SignatureECDSA.engineSign()
Proxy method forSignature.sign()
which is executed on the internalSignature
object.protected void
IntegrityHmac.engineUpdate
(byte input) Proxy method forSignature.update(byte)
which is executed on the internalSignature
object.protected void
IntegrityHmac.engineUpdate
(byte[] input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected void
IntegrityHmac.engineUpdate
(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)
which is executed on the internalSignature
object.protected void
SignatureBaseRSA.engineUpdate
(byte input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected void
SignatureBaseRSA.engineUpdate
(byte[] input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected void
SignatureBaseRSA.engineUpdate
(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)
which is executed on the internalSignature
object.protected void
SignatureDSA.engineUpdate
(byte input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected void
SignatureDSA.engineUpdate
(byte[] input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected void
SignatureDSA.engineUpdate
(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)
which is executed on the internalSignature
object.protected void
SignatureECDSA.engineUpdate
(byte input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected void
SignatureECDSA.engineUpdate
(byte[] input) Proxy method forSignature.update(byte[])
which is executed on the internalSignature
object.protected void
SignatureECDSA.engineUpdate
(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)
which is executed on the internalSignature
object.protected boolean
IntegrityHmac.engineVerify
(byte[] signature) Proxy method forSignature.verify(byte[])
which is executed on the internalSignature
object.protected boolean
SignatureBaseRSA.engineVerify
(byte[] signature) Proxy method forSignature.verify(byte[])
which is executed on the internalSignature
object.protected boolean
SignatureDSA.engineVerify
(byte[] signature) Proxy method forSignature.verify(byte[])
which is executed on the internalSignature
object.protected boolean
SignatureECDSA.engineVerify
(byte[] signature) Proxy method forSignature.verify(byte[])
which is executed on the internalSignature
object.Constructors in org.apache.xml.security.algorithms.implementations that throw XMLSignatureExceptionModifierConstructorDescriptionMethod IntegrityHmacConstructor IntegrityHmacMD5Constructor IntegrityHmacRIPEMD160Constructor IntegrityHmacSHA1Constructor IntegrityHmacSHA224Constructor IntegrityHmacSHA256Constructor IntegrityHmacSHA384Constructor IntegrityHmacSHA512SHA256()
Constructor SignatureRSAConstructor SignatureDSAConstructor SignatureRSAConstructor SignatureECDSARIPEMD160Constructor SignatureECDSASHA1Constructor SignatureECDSASHA224Constructor SignatureECDSASHA256Constructor SignatureECDSASHA384Constructor SignatureECDSASHA512Constructor SignatureRSAMD5Constructor SignatureRSARIPEMD160Constructor SignatureRSASHA1Constructor SignatureRSASHA1MGF1Constructor SignatureRSASHA224Constructor SignatureRSASHA224MGF1Constructor SignatureRSASHA256Constructor SignatureRSASHA256MGF1Constructor SignatureRSASHA3_224MGF1Constructor SignatureRSASHA3_256MGF1Constructor SignatureRSASHA3_384MGF1Constructor SignatureRSASHA3_512MGF1Constructor SignatureRSASHA384Constructor SignatureRSASHA384MGF1Constructor SignatureRSASHA512Constructor SignatureRSASHA512MGF1 -
Uses of XMLSignatureException in org.apache.xml.security.signature
Subclasses of XMLSignatureException in org.apache.xml.security.signatureModifier and TypeClassDescriptionclass
Raised when the computed hash value doesn't match the given DigestValue.class
Raised if testing the signature value over DigestValue fails because of invalid signature.class
Thrown bySignedInfo.verify()
when testing the signature fails because of uninitializedReference
s.class
Raised if verifying aReference
fails because of an uninitializedXMLSignatureInput
Methods in org.apache.xml.security.signature that throw XMLSignatureExceptionModifier and TypeMethodDescriptionvoid
Manifest.addDocument
(String baseURI, String referenceURI, Transforms transforms, String digestURI, String referenceId, String referenceType) ThisaddDocument
method is used to add a new resource to the signed info.void
XMLSignature.addDocument
(String referenceURI) Add a Reference with just this URI.void
XMLSignature.addDocument
(String referenceURI, Transforms trans) Adds a Reference with just the URI and the transforms.void
XMLSignature.addDocument
(String referenceURI, Transforms trans, String digestURI) This method is a proxy method for theManifest.addDocument(java.lang.String, java.lang.String, org.apache.xml.security.transforms.Transforms, java.lang.String, java.lang.String, java.lang.String)
method.void
XMLSignature.addDocument
(String referenceURI, Transforms trans, String digestURI, String referenceId, String referenceType) Add a Reference with full parameters to this Signaturevoid
XMLSignature.appendObject
(ObjectContainer object) Appends an Object (not ajava.lang.Object
but an Object element) to the Signature.boolean
XMLSignature.checkSignatureValue
(X509Certificate cert) Extracts the public key from the certificate and verifies if the signature is valid by re-digesting all References, comparing those against the stored DigestValues and then checking to see if the Signatures match on the SignedInfo.boolean
XMLSignature.checkSignatureValue
(Key pk) Verifies if the signature is valid by redigesting all References, comparing those against the stored DigestValues and then checking to see if the Signatures match on the SignedInfo.protected XMLSignatureInput
Reference.dereferenceURIandPerformTransforms
(OutputStream os) This method returns theXMLSignatureInput
which is referenced by theURI
Attribute.void
Reference.generateDigestValue()
Method generateDigestValuevoid
Manifest.generateDigestValues()
The calculation of the DigestValues in the References must be after the References are already added to the document and during the signing process.Reference.getContentsAfterTransformation()
Returns the XMLSignatureInput which is the result of the Transforms.Reference.getHTMLRepresentation()
Method getHTMLRepresentationXMLSignatureInput.getHTMLRepresentation()
Method getHTMLRepresentationXMLSignatureInput.getHTMLRepresentation
(Set<String> inclusiveNamespaces) Method getHTMLRepresentationXMLSignatureInputDebugger.getHTMLRepresentation()
Method getHTMLRepresentationReference.getMessageDigestAlgorithm()
ReturnsMessageDigestAlgorithm
Reference.getNodesetBeforeFirstCanonicalization()
This method returns the XMLSignatureInput which represents the node set before some kind of canonicalization is applied for the first time.byte[]
Reference.getReferencedBytes()
Method getReferencedBytesbyte[]
XMLSignature.getSignatureValue()
Returns the octet value of the SignatureValue element.byte[]
Manifest.getSignedContentItem
(int i) Method getSignedContentItemReference.getTransforms()
Method getTransformsSignatureProperties.item
(int i) Return the ith SignatureProperty.void
Digests all References in the SignedInfo, calculates the signature value and sets it in the SignatureValue Element.Constructors in org.apache.xml.security.signature that throw XMLSignatureExceptionModifierConstructorDescriptionprotected
Reference
(Document doc, String baseURI, String referenceURI, Manifest manifest, Transforms transforms, String messageDigestAlgorithm) Constructor ReferenceXMLSignature
(Element element, String baseURI) This will parse the element and construct the Java Objects.XMLSignature
(Element element, String baseURI, boolean secureValidation) This will parse the element and construct the Java Objects. -
Uses of XMLSignatureException in org.apache.xml.security.transforms
Constructors in org.apache.xml.security.transforms that throw XMLSignatureException