Uses of Class
org.apache.xml.security.signature.XMLSignatureException
-
-
Uses of XMLSignatureException in org.apache.xml.security.algorithms
Methods in org.apache.xml.security.algorithms that throw XMLSignatureException Modifier and Type Method Description protected voidSignatureAlgorithmSpi. engineAddContextToElement(Element element)protected voidSignatureAlgorithmSpi. engineGetContextFromElement(Element element)Method engineGetContextFromElementprotected 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 static voidSignatureAlgorithmSpi. engineInitSign(Key privateKey, SecureRandom secureRandom, Signature signatureAlgorithm)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 static voidSignatureAlgorithmSpi. engineInitVerify(Key publicKey, Signature signatureAlgorithm)protected 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 MessageDigestMessageDigestAlgorithm. getDigestInstance(String algorithmURI)static MessageDigestAlgorithmMessageDigestAlgorithm. getInstance(Document doc, String algorithmURI)Factory method for constructing a message digest algorithm by name.voidSignatureAlgorithm. initSign(Key signingKey)Proxy 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 voidSignatureAlgorithm. register(String algorithmURI, String implementingClass)Registers 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 XMLSignatureException Modifier and Type Method Description protected voidIntegrityHmac. engineAddContextToElement(Element element)Method engineAddContextToElementprotected voidSignatureBaseRSA.SignatureRSASSAPSS. engineAddContextToElement(Element element)protected voidIntegrityHmac. engineGetContextFromElement(Element element)Method engineGetContextFromElementprotected voidSignatureBaseRSA.SignatureRSASSAPSS. engineGetContextFromElement(Element element)protected 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 voidSignatureEDDSA. engineInitSign(Key privateKey)Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.protected voidSignatureEDDSA. engineInitSign(Key privateKey, SecureRandom secureRandom)Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.protected voidSignatureEDDSA. 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 voidSignatureEDDSA. engineInitVerify(Key publicKey)Method engineInitVerifyprotected voidIntegrityHmac. engineSetHMACOutputLength(int length)Method engineSetHMACOutputLengthprotected voidSignatureBaseRSA. engineSetHMACOutputLength(int HMACOutputLength)Method engineSetHMACOutputLengthprotected voidSignatureDSA. engineSetHMACOutputLength(int HMACOutputLength)Method engineSetHMACOutputLengthprotected voidSignatureECDSA. engineSetHMACOutputLength(int HMACOutputLength)Method engineSetHMACOutputLengthprotected voidSignatureEDDSA. 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 voidSignatureBaseRSA.SignatureRSASSAPSS. engineSetParameter(AlgorithmParameterSpec params)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 voidSignatureEDDSA. 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 byte[]SignatureEDDSA. 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 voidSignatureEDDSA. engineUpdate(byte input)Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureEDDSA. engineUpdate(byte[] input)Proxy method forSignature.update(byte[])which is executed on the internalSignatureobject.protected voidSignatureEDDSA. 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.protected booleanSignatureEDDSA. engineVerify(byte[] signature)Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject.static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithmSignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm. fromDigestAlgorithm(String digestAlgorithm)static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithmSignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm. fromXmlDigestAlgorithm(String xmlDigestAlgorithm) -
Uses of XMLSignatureException in org.apache.xml.security.signature
Subclasses of XMLSignatureException in org.apache.xml.security.signature Modifier and Type Class Description classInvalidDigestValueExceptionRaised when the computed hash value doesn't match the given DigestValue.classInvalidSignatureValueExceptionRaised if testing the signature value over DigestValue fails because of invalid signature.classMissingResourceFailureExceptionThrown bySignedInfo.verify()when testing the signature fails because of uninitializedReferences.classReferenceNotInitializedExceptionRaised if verifying aReferencefails because of an uninitializedXMLSignatureInputMethods in org.apache.xml.security.signature that throw XMLSignatureException Modifier and Type Method Description voidManifest. 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.XMLSignatureInputReference. getContentsAfterTransformation()Returns the XMLSignatureInput which is the result of the Transforms.StringReference. getHTMLRepresentation()Method getHTMLRepresentationStringXMLSignatureInputDebugger. getHTMLRepresentation()Method getHTMLRepresentationMessageDigestAlgorithmReference. getMessageDigestAlgorithm()ReturnsMessageDigestAlgorithmXMLSignatureInputReference. 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 getSignedContentItemTransformsReference. getTransforms()Method getTransformsSignaturePropertySignatureProperties. item(int i)Return the ith SignatureProperty.voidXMLSignature. sign(Key signingKey)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 XMLSignatureException Constructor Description 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.XMLSignature(Element element, String baseURI, boolean secureValidation, Provider provider)This will parse the element and construct the Java Objects.XMLSignature(Element element, String baseURI, Provider provider)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 Constructor Description Transforms(Element element, String baseURI)
-