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 voidSignatureAlgorithmSpi.engineInitSign(Key signingKey) Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.protected abstract voidSignatureAlgorithmSpi.engineInitSign(Key signingKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.protected abstract voidSignatureAlgorithmSpi.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forMacwhich is executed on the internalMac.init(Key)object.protected abstract voidSignatureAlgorithmSpi.engineInitVerify(Key verificationKey) Method engineInitVerifyprotected abstract voidSignatureAlgorithmSpi.engineSetHMACOutputLength(int HMACOutputLength) Method engineSetHMACOutputLengthprotected abstract voidSignatureAlgorithmSpi.engineSetParameter(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)which is executed on the internalSignatureobject.protected abstract byte[]SignatureAlgorithmSpi.engineSign()Proxy method forSignature.sign()which is executed on the internalSignatureobject.protected abstract voidSignatureAlgorithmSpi.engineUpdate(byte input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected abstract voidSignatureAlgorithmSpi.engineUpdate(byte[] input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected abstract voidSignatureAlgorithmSpi.engineUpdate(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)which is executed on the internalSignatureobject.protected abstract booleanSignatureAlgorithmSpi.engineVerify(byte[] signature) Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject.static MessageDigestAlgorithmMessageDigestAlgorithm.getInstance(Document doc, String algorithmURI) Factory method for constructing a message digest algorithm by name.voidProxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.voidSignatureAlgorithm.initSign(Key signingKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.voidSignatureAlgorithm.initSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.voidSignatureAlgorithm.initVerify(Key verificationKey) Proxy method forSignature.initVerify(java.security.PublicKey)which is executed on the internalSignatureobject.static voidSignatureAlgorithm.register(String algorithmURI, Class<? extends SignatureAlgorithmSpi> implementingClass) Registers implementing class of the SignatureAlgorithm with algorithmURIstatic voidRegisters implementing class of the SignatureAlgorithm with algorithmURIvoidSignatureAlgorithm.setParameter(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)which is executed on the internalSignatureobject.byte[]SignatureAlgorithm.sign()Proxy method forSignature.sign()which is executed on the internalSignatureobject.voidSignatureAlgorithm.update(byte input) Proxy method forSignature.update(byte)which is executed on the internalSignatureobject.voidSignatureAlgorithm.update(byte[] input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.voidSignatureAlgorithm.update(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)which is executed on the internalSignatureobject.booleanSignatureAlgorithm.verify(byte[] signature) Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject. -
Uses of XMLSignatureException in org.apache.xml.security.algorithms.implementations
Methods in org.apache.xml.security.algorithms.implementations that throw XMLSignatureExceptionModifier and TypeMethodDescriptionprotected voidIntegrityHmac.engineInitSign(Key secretKey) Method engineInitSignprotected voidIntegrityHmac.engineInitSign(Key secretKey, SecureRandom secureRandom) Method engineInitSignprotected voidIntegrityHmac.engineInitSign(Key secretKey, AlgorithmParameterSpec algorithmParameterSpec) Method engineInitSignprotected voidSignatureBaseRSA.engineInitSign(Key privateKey) Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.protected voidSignatureBaseRSA.engineInitSign(Key privateKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.protected voidSignatureBaseRSA.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forMacwhich is executed on the internalMac.init(Key)object.protected voidSignatureDSA.engineInitSign(Key privateKey) Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.protected voidSignatureDSA.engineInitSign(Key privateKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.protected voidSignatureDSA.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Method engineInitSignprotected voidSignatureECDSA.engineInitSign(Key privateKey) Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.protected voidSignatureECDSA.engineInitSign(Key privateKey, SecureRandom secureRandom) Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.protected voidSignatureECDSA.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) Proxy method forMacwhich is executed on the internalMac.init(Key)object.protected voidIntegrityHmac.engineInitVerify(Key secretKey) Proxy method forSignature.initVerify(java.security.PublicKey)which is executed on the internalSignatureobject.protected voidSignatureBaseRSA.engineInitVerify(Key publicKey) Method engineInitVerifyprotected voidSignatureDSA.engineInitVerify(Key publicKey) Method engineInitVerifyprotected voidSignatureECDSA.engineInitVerify(Key publicKey) Method engineInitVerifyprotected voidSignatureBaseRSA.engineSetHMACOutputLength(int HMACOutputLength) Method engineSetHMACOutputLengthprotected voidSignatureDSA.engineSetHMACOutputLength(int HMACOutputLength) Method engineSetHMACOutputLengthprotected voidSignatureECDSA.engineSetHMACOutputLength(int HMACOutputLength) Method engineSetHMACOutputLengthprotected voidIntegrityHmac.engineSetParameter(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)which is executed on the internalSignatureobject.protected voidSignatureBaseRSA.engineSetParameter(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)which is executed on the internalSignatureobject.protected voidSignatureDSA.engineSetParameter(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)which is executed on the internalSignatureobject.protected voidSignatureECDSA.engineSetParameter(AlgorithmParameterSpec params) Proxy method forSignature.setParameter(java.security.spec.AlgorithmParameterSpec)which is executed on the internalSignatureobject.protected byte[]IntegrityHmac.engineSign()Proxy method forSignature.sign()which is executed on the internalSignatureobject.protected byte[]SignatureBaseRSA.engineSign()Proxy method forSignature.sign()which is executed on the internalSignatureobject.protected byte[]SignatureDSA.engineSign()Proxy method forSignature.sign()which is executed on the internalSignatureobject.protected byte[]SignatureECDSA.engineSign()Proxy method forSignature.sign()which is executed on the internalSignatureobject.protected voidIntegrityHmac.engineUpdate(byte input) Proxy method forSignature.update(byte)which is executed on the internalSignatureobject.protected voidIntegrityHmac.engineUpdate(byte[] input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidIntegrityHmac.engineUpdate(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)which is executed on the internalSignatureobject.protected voidSignatureBaseRSA.engineUpdate(byte input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureBaseRSA.engineUpdate(byte[] input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureBaseRSA.engineUpdate(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)which is executed on the internalSignatureobject.protected voidSignatureDSA.engineUpdate(byte input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureDSA.engineUpdate(byte[] input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureDSA.engineUpdate(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)which is executed on the internalSignatureobject.protected voidSignatureECDSA.engineUpdate(byte input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureECDSA.engineUpdate(byte[] input) Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureECDSA.engineUpdate(byte[] buf, int offset, int len) Proxy method forSignature.update(byte[], int, int)which is executed on the internalSignatureobject.protected booleanIntegrityHmac.engineVerify(byte[] signature) Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject.protected booleanSignatureBaseRSA.engineVerify(byte[] signature) Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject.protected booleanSignatureDSA.engineVerify(byte[] signature) Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject.protected booleanSignatureECDSA.engineVerify(byte[] signature) Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject.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 TypeClassDescriptionclassRaised when the computed hash value doesn't match the given DigestValue.classRaised if testing the signature value over DigestValue fails because of invalid signature.classThrown bySignedInfo.verify()when testing the signature fails because of uninitializedReferences.classRaised if verifying aReferencefails because of an uninitializedXMLSignatureInputMethods in org.apache.xml.security.signature that throw XMLSignatureExceptionModifier and TypeMethodDescriptionvoidManifest.addDocument(String baseURI, String referenceURI, Transforms transforms, String digestURI, String referenceId, String referenceType) ThisaddDocumentmethod is used to add a new resource to the signed info.voidXMLSignature.addDocument(String referenceURI) Add a Reference with just this URI.voidXMLSignature.addDocument(String referenceURI, Transforms trans) Adds a Reference with just the URI and the transforms.voidXMLSignature.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.voidXMLSignature.addDocument(String referenceURI, Transforms trans, String digestURI, String referenceId, String referenceType) Add a Reference with full parameters to this SignaturevoidXMLSignature.appendObject(ObjectContainer object) Appends an Object (not ajava.lang.Objectbut an Object element) to the Signature.booleanXMLSignature.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.booleanXMLSignature.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 XMLSignatureInputReference.dereferenceURIandPerformTransforms(OutputStream os) This method returns theXMLSignatureInputwhich is referenced by theURIAttribute.voidReference.generateDigestValue()Method generateDigestValuevoidManifest.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()ReturnsMessageDigestAlgorithmReference.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.voidDigests 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 XMLSignatureExceptionModifierConstructorDescriptionprotectedReference(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