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 abstract voidSignatureAlgorithmSpi. engineInitSign(java.security.Key signingKey)Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.protected abstract voidSignatureAlgorithmSpi. engineInitSign(java.security.Key signingKey, java.security.SecureRandom secureRandom)Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.protected abstract voidSignatureAlgorithmSpi. engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)Proxy method forMacwhich is executed on the internalMac.init(Key)object.protected abstract voidSignatureAlgorithmSpi. engineInitVerify(java.security.Key verificationKey)Method engineInitVerifyprotected abstract voidSignatureAlgorithmSpi. engineSetHMACOutputLength(int HMACOutputLength)Method engineSetHMACOutputLengthprotected abstract voidSignatureAlgorithmSpi. engineSetParameter(java.security.spec.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(org.w3c.dom.Document doc, java.lang.String algorithmURI)Factory method for constructing a message digest algorithm by name.voidSignatureAlgorithm. initSign(java.security.Key signingKey)Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.voidSignatureAlgorithm. initSign(java.security.Key signingKey, java.security.SecureRandom secureRandom)Proxy method forSignature.initSign(java.security.PrivateKey, java.security.SecureRandom)which is executed on the internalSignatureobject.voidSignatureAlgorithm. initSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)Proxy method forSignature.initSign(java.security.PrivateKey)which is executed on the internalSignatureobject.voidSignatureAlgorithm. initVerify(java.security.Key verificationKey)Proxy method forSignature.initVerify(java.security.PublicKey)which is executed on the internalSignatureobject.static voidSignatureAlgorithm. register(java.lang.String algorithmURI, java.lang.Class<? extends SignatureAlgorithmSpi> implementingClass)Registers implementing class of the SignatureAlgorithm with algorithmURIstatic voidSignatureAlgorithm. register(java.lang.String algorithmURI, java.lang.String implementingClass)Registers implementing class of the SignatureAlgorithm with algorithmURIvoidSignatureAlgorithm. setParameter(java.security.spec.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. engineInitSign(java.security.Key secretKey)Method engineInitSignprotected voidIntegrityHmac. engineInitSign(java.security.Key secretKey, java.security.SecureRandom secureRandom)Method engineInitSignprotected voidIntegrityHmac. engineInitSign(java.security.Key secretKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)Method engineInitSignprotected voidSignatureBaseRSA. engineInitSign(java.security.Key privateKey)protected voidSignatureBaseRSA. engineInitSign(java.security.Key privateKey, java.security.SecureRandom secureRandom)protected voidSignatureBaseRSA. engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)protected voidSignatureDSA. engineInitSign(java.security.Key privateKey)protected voidSignatureDSA. engineInitSign(java.security.Key privateKey, java.security.SecureRandom secureRandom)protected voidSignatureDSA. engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)Method engineInitSignprotected voidSignatureECDSA. engineInitSign(java.security.Key privateKey)protected voidSignatureECDSA. engineInitSign(java.security.Key privateKey, java.security.SecureRandom secureRandom)protected voidSignatureECDSA. engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)protected voidIntegrityHmac. engineInitVerify(java.security.Key secretKey)Proxy method forSignature.initVerify(java.security.PublicKey)which is executed on the internalSignatureobject.protected voidSignatureBaseRSA. engineInitVerify(java.security.Key publicKey)protected voidSignatureDSA. engineInitVerify(java.security.Key publicKey)protected voidSignatureECDSA. engineInitVerify(java.security.Key publicKey)protected voidSignatureBaseRSA. engineSetHMACOutputLength(int HMACOutputLength)protected voidSignatureDSA. engineSetHMACOutputLength(int HMACOutputLength)Method engineSetHMACOutputLengthprotected voidSignatureECDSA. engineSetHMACOutputLength(int HMACOutputLength)protected voidIntegrityHmac. engineSetParameter(java.security.spec.AlgorithmParameterSpec params)Proxy method forSignature.setParameter( java.security.spec.AlgorithmParameterSpec)which is executed on the internalSignatureobject.protected voidSignatureBaseRSA. engineSetParameter(java.security.spec.AlgorithmParameterSpec params)protected voidSignatureDSA. engineSetParameter(java.security.spec.AlgorithmParameterSpec params)protected voidSignatureECDSA. engineSetParameter(java.security.spec.AlgorithmParameterSpec params)protected byte[]IntegrityHmac. engineSign()Proxy method forSignature.sign()which is executed on the internalSignatureobject.protected byte[]SignatureBaseRSA. engineSign()protected byte[]SignatureDSA. engineSign()protected byte[]SignatureECDSA. engineSign()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)protected voidSignatureBaseRSA. engineUpdate(byte[] input)protected voidSignatureBaseRSA. engineUpdate(byte[] buf, int offset, int len)protected voidSignatureDSA. engineUpdate(byte input)protected voidSignatureDSA. engineUpdate(byte[] input)protected voidSignatureDSA. engineUpdate(byte[] buf, int offset, int len)protected voidSignatureECDSA. engineUpdate(byte input)protected voidSignatureECDSA. engineUpdate(byte[] input)protected voidSignatureECDSA. engineUpdate(byte[] buf, int offset, int len)protected booleanIntegrityHmac. engineVerify(byte[] signature)Proxy method forSignature.verify(byte[])which is executed on the internalSignatureobject.protected booleanSignatureBaseRSA. engineVerify(byte[] signature)protected booleanSignatureDSA. engineVerify(byte[] signature)protected booleanSignatureECDSA. engineVerify(byte[] signature)Constructors in org.apache.xml.security.algorithms.implementations that throw XMLSignatureException Constructor Description IntegrityHmac()Method IntegrityHmacIntegrityHmacMD5()Constructor IntegrityHmacMD5IntegrityHmacRIPEMD160()Constructor IntegrityHmacRIPEMD160IntegrityHmacSHA1()Constructor IntegrityHmacSHA1IntegrityHmacSHA224()Constructor IntegrityHmacSHA224IntegrityHmacSHA256()Constructor IntegrityHmacSHA256IntegrityHmacSHA384()Constructor IntegrityHmacSHA384IntegrityHmacSHA512()Constructor IntegrityHmacSHA512SHA256()SignatureBaseRSA()Constructor SignatureRSASignatureDSA()Constructor SignatureDSASignatureECDSA()Constructor SignatureRSASignatureECDSARIPEMD160()Constructor SignatureECDSARIPEMD160SignatureECDSASHA1()Constructor SignatureECDSASHA1SignatureECDSASHA224()Constructor SignatureECDSASHA224SignatureECDSASHA256()Constructor SignatureECDSASHA256SignatureECDSASHA384()Constructor SignatureECDSASHA384SignatureECDSASHA512()Constructor SignatureECDSASHA512SignatureRSAMD5()Constructor SignatureRSAMD5SignatureRSARIPEMD160()Constructor SignatureRSARIPEMD160SignatureRSASHA1()Constructor SignatureRSASHA1SignatureRSASHA1MGF1()Constructor SignatureRSASHA1MGF1SignatureRSASHA224()Constructor SignatureRSASHA224SignatureRSASHA224MGF1()Constructor SignatureRSASHA224MGF1SignatureRSASHA256()Constructor SignatureRSASHA256SignatureRSASHA256MGF1()Constructor SignatureRSASHA256MGF1SignatureRSASHA3_224MGF1()Constructor SignatureRSASHA3_224MGF1SignatureRSASHA3_256MGF1()Constructor SignatureRSASHA3_256MGF1SignatureRSASHA3_384MGF1()Constructor SignatureRSASHA3_384MGF1SignatureRSASHA3_512MGF1()Constructor SignatureRSASHA3_512MGF1SignatureRSASHA384()Constructor SignatureRSASHA384SignatureRSASHA384MGF1()Constructor SignatureRSASHA384MGF1SignatureRSASHA512()Constructor SignatureRSASHA512SignatureRSASHA512MGF1()Constructor SignatureRSASHA512MGF1 -
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(java.lang.String baseURI, java.lang.String referenceURI, Transforms transforms, java.lang.String digestURI, java.lang.String referenceId, java.lang.String referenceType)ThisaddDocumentmethod is used to add a new resource to the signed info.voidXMLSignature. addDocument(java.lang.String referenceURI)Add a Reference with just this URI.voidXMLSignature. addDocument(java.lang.String referenceURI, Transforms trans)Adds a Reference with just the URI and the transforms.voidXMLSignature. addDocument(java.lang.String referenceURI, Transforms trans, java.lang.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(java.lang.String referenceURI, Transforms trans, java.lang.String digestURI, java.lang.String referenceId, java.lang.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(java.security.cert.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(java.security.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(java.io.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.java.lang.StringReference. getHTMLRepresentation()Method getHTMLRepresentationjava.lang.StringXMLSignatureInput. getHTMLRepresentation()Method getHTMLRepresentationjava.lang.StringXMLSignatureInput. getHTMLRepresentation(java.util.Set<java.lang.String> inclusiveNamespaces)Method getHTMLRepresentationjava.lang.StringXMLSignatureInputDebugger. 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 thei th SignatureProperty.voidXMLSignature. sign(java.security.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(org.w3c.dom.Document doc, java.lang.String baseURI, java.lang.String referenceURI, Manifest manifest, Transforms transforms, java.lang.String messageDigestAlgorithm)Constructor ReferenceXMLSignature(org.w3c.dom.Element element, java.lang.String baseURI)This will parse the element and construct the Java Objects.XMLSignature(org.w3c.dom.Element element, java.lang.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 Constructor Description Transforms(org.w3c.dom.Element element, java.lang.String baseURI)
-