Uses of Class
org.apache.xml.security.signature.XMLSignatureException

Packages that use XMLSignatureException
org.apache.xml.security.algorithms algorithm factories. 
org.apache.xml.security.algorithms.implementations implementations of SignatureAlgorithmSpi
org.apache.xml.security.signature XML Signature specific classes. 
org.apache.xml.security.transforms the framework for XML Signature transforms. 
 

Uses of XMLSignatureException in org.apache.xml.security.algorithms
 

Methods in org.apache.xml.security.algorithms that throw XMLSignatureException
protected abstract  void SignatureAlgorithmSpi.engineInitSign(Key signingKey)
          Proxy method for Signature.initSign(java.security.PrivateKey) which is executed on the internal Signature object.
protected abstract  void SignatureAlgorithmSpi.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
          Proxy method for Mac which is executed on the internal Mac.init(Key) object.
protected abstract  void SignatureAlgorithmSpi.engineInitSign(Key signingKey, SecureRandom secureRandom)
          Proxy method for Signature.initSign(java.security.PrivateKey, java.security.SecureRandom) which is executed on the internal Signature object.
protected abstract  void SignatureAlgorithmSpi.engineInitVerify(Key verificationKey)
          Method engineInitVerify
protected abstract  void SignatureAlgorithmSpi.engineSetHMACOutputLength(int HMACOutputLength)
          Method engineSetHMACOutputLength
protected abstract  void SignatureAlgorithmSpi.engineSetParameter(AlgorithmParameterSpec params)
          Proxy method for Signature.setParameter( java.security.spec.AlgorithmParameterSpec) which is executed on the internal Signature object.
protected abstract  byte[] SignatureAlgorithmSpi.engineSign()
          Proxy method for Signature.sign() which is executed on the internal Signature object.
protected abstract  void SignatureAlgorithmSpi.engineUpdate(byte input)
          Proxy method for Signature.update(byte[]) which is executed on the internal Signature object.
protected abstract  void SignatureAlgorithmSpi.engineUpdate(byte[] input)
          Proxy method for Signature.update(byte[]) which is executed on the internal Signature object.
protected abstract  void SignatureAlgorithmSpi.engineUpdate(byte[] buf, int offset, int len)
          Proxy method for Signature.update(byte[], int, int) which is executed on the internal Signature object.
protected abstract  boolean SignatureAlgorithmSpi.engineVerify(byte[] signature)
          Proxy method for Signature.verify(byte[]) which is executed on the internal Signature object.
static MessageDigestAlgorithm MessageDigestAlgorithm.getInstance(Document doc, String algorithmURI)
          Factory method for constructing a message digest algorithm by name.
 void SignatureAlgorithm.initSign(Key signingKey)
          Proxy method for Signature.initSign(java.security.PrivateKey) which is executed on the internal Signature object.
 void SignatureAlgorithm.initSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
          Proxy method for Signature.initSign(java.security.PrivateKey) which is executed on the internal Signature object.
 void SignatureAlgorithm.initSign(Key signingKey, SecureRandom secureRandom)
          Proxy method for Signature.initSign(java.security.PrivateKey, java.security.SecureRandom) which is executed on the internal Signature object.
 void SignatureAlgorithm.initVerify(Key verificationKey)
          Proxy method for Signature.initVerify(java.security.PublicKey) which is executed on the internal Signature object.
static void SignatureAlgorithm.register(String algorithmURI, Class<? extends SignatureAlgorithmSpi> implementingClass)
          Registers implementing class of the Transform algorithm with algorithmURI
static void SignatureAlgorithm.register(String algorithmURI, String implementingClass)
          Registers implementing class of the Transform algorithm with algorithmURI
 void SignatureAlgorithm.setParameter(AlgorithmParameterSpec params)
          Proxy method for Signature.setParameter( java.security.spec.AlgorithmParameterSpec) which is executed on the internal Signature object.
 byte[] SignatureAlgorithm.sign()
          Proxy method for Signature.sign() which is executed on the internal Signature object.
 void SignatureAlgorithm.update(byte input)
          Proxy method for Signature.update(byte) which is executed on the internal Signature object.
 void SignatureAlgorithm.update(byte[] input)
          Proxy method for Signature.update(byte[]) which is executed on the internal Signature object.
 void SignatureAlgorithm.update(byte[] buf, int offset, int len)
          Proxy method for Signature.update(byte[], int, int) which is executed on the internal Signature object.
 boolean SignatureAlgorithm.verify(byte[] signature)
          Proxy method for Signature.verify(byte[]) which is executed on the internal Signature object.
 

Uses of XMLSignatureException in org.apache.xml.security.algorithms.implementations
 

Methods in org.apache.xml.security.algorithms.implementations that throw XMLSignatureException
protected  void IntegrityHmac.engineInitSign(Key secretKey)
          Method engineInitSign
protected  void SignatureDSA.engineInitSign(Key privateKey)
           
protected  void SignatureECDSA.engineInitSign(Key privateKey)
           
protected  void SignatureBaseRSA.engineInitSign(Key privateKey)
           
protected  void IntegrityHmac.engineInitSign(Key secretKey, AlgorithmParameterSpec algorithmParameterSpec)
          Method engineInitSign
protected  void SignatureDSA.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
          Method engineInitSign
protected  void SignatureECDSA.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
           
protected  void SignatureBaseRSA.engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
           
protected  void IntegrityHmac.engineInitSign(Key secretKey, SecureRandom secureRandom)
          Method engineInitSign
protected  void SignatureDSA.engineInitSign(Key privateKey, SecureRandom secureRandom)
           
protected  void SignatureECDSA.engineInitSign(Key privateKey, SecureRandom secureRandom)
           
protected  void SignatureBaseRSA.engineInitSign(Key privateKey, SecureRandom secureRandom)
           
protected  void IntegrityHmac.engineInitVerify(Key secretKey)
          Proxy method for Signature.initVerify(java.security.PublicKey) which is executed on the internal Signature object.
protected  void SignatureDSA.engineInitVerify(Key publicKey)
           
protected  void SignatureECDSA.engineInitVerify(Key publicKey)
           
protected  void SignatureBaseRSA.engineInitVerify(Key publicKey)
           
protected  void SignatureDSA.engineSetHMACOutputLength(int HMACOutputLength)
          Method engineSetHMACOutputLength
protected  void SignatureECDSA.engineSetHMACOutputLength(int HMACOutputLength)
           
protected  void SignatureBaseRSA.engineSetHMACOutputLength(int HMACOutputLength)
           
protected  void IntegrityHmac.engineSetParameter(AlgorithmParameterSpec params)
          Proxy method for Signature.setParameter( java.security.spec.AlgorithmParameterSpec) which is executed on the internal Signature object.
protected  void SignatureDSA.engineSetParameter(AlgorithmParameterSpec params)
           
protected  void SignatureECDSA.engineSetParameter(AlgorithmParameterSpec params)
           
protected  void SignatureBaseRSA.engineSetParameter(AlgorithmParameterSpec params)
           
protected  byte[] IntegrityHmac.engineSign()
          Proxy method for Signature.sign() which is executed on the internal Signature object.
protected  byte[] SignatureDSA.engineSign()
           
protected  byte[] SignatureECDSA.engineSign()
           
protected  byte[] SignatureBaseRSA.engineSign()
           
protected  void IntegrityHmac.engineUpdate(byte input)
          Proxy method for Signature.update(byte) which is executed on the internal Signature object.
protected  void SignatureDSA.engineUpdate(byte input)
           
protected  void SignatureECDSA.engineUpdate(byte input)
           
protected  void SignatureBaseRSA.engineUpdate(byte input)
           
protected  void IntegrityHmac.engineUpdate(byte[] input)
          Proxy method for Signature.update(byte[]) which is executed on the internal Signature object.
protected  void SignatureDSA.engineUpdate(byte[] input)
           
protected  void SignatureECDSA.engineUpdate(byte[] input)
           
protected  void SignatureBaseRSA.engineUpdate(byte[] input)
           
protected  void IntegrityHmac.engineUpdate(byte[] buf, int offset, int len)
          Proxy method for Signature.update(byte[], int, int) which is executed on the internal Signature object.
protected  void SignatureDSA.engineUpdate(byte[] buf, int offset, int len)
           
protected  void SignatureECDSA.engineUpdate(byte[] buf, int offset, int len)
           
protected  void SignatureBaseRSA.engineUpdate(byte[] buf, int offset, int len)
           
protected  boolean IntegrityHmac.engineVerify(byte[] signature)
          Proxy method for Signature.verify(byte[]) which is executed on the internal Signature object.
protected  boolean SignatureDSA.engineVerify(byte[] signature)
           
protected  boolean SignatureECDSA.engineVerify(byte[] signature)
           
protected  boolean SignatureBaseRSA.engineVerify(byte[] signature)
           
 

Constructors in org.apache.xml.security.algorithms.implementations that throw XMLSignatureException
IntegrityHmac.IntegrityHmacMD5()
          Constructor IntegrityHmacMD5
IntegrityHmac.IntegrityHmacRIPEMD160()
          Constructor IntegrityHmacRIPEMD160
IntegrityHmac.IntegrityHmacSHA1()
          Constructor IntegrityHmacSHA1
IntegrityHmac.IntegrityHmacSHA224()
          Constructor IntegrityHmacSHA224
IntegrityHmac.IntegrityHmacSHA256()
          Constructor IntegrityHmacSHA256
IntegrityHmac.IntegrityHmacSHA384()
          Constructor IntegrityHmacSHA384
IntegrityHmac.IntegrityHmacSHA512()
          Constructor IntegrityHmacSHA512
IntegrityHmac()
          Method IntegrityHmac
SignatureBaseRSA.SignatureRSAMD5()
          Constructor SignatureRSAMD5
SignatureBaseRSA.SignatureRSARIPEMD160()
          Constructor SignatureRSARIPEMD160
SignatureBaseRSA.SignatureRSASHA1()
          Constructor SignatureRSASHA1
SignatureBaseRSA.SignatureRSASHA1MGF1()
          Constructor SignatureRSASHA1MGF1
SignatureBaseRSA.SignatureRSASHA224()
          Constructor SignatureRSASHA224
SignatureBaseRSA.SignatureRSASHA224MGF1()
          Constructor SignatureRSASHA224MGF1
SignatureBaseRSA.SignatureRSASHA256()
          Constructor SignatureRSASHA256
SignatureBaseRSA.SignatureRSASHA256MGF1()
          Constructor SignatureRSASHA256MGF1
SignatureBaseRSA.SignatureRSASHA384()
          Constructor SignatureRSASHA384
SignatureBaseRSA.SignatureRSASHA384MGF1()
          Constructor SignatureRSASHA384MGF1
SignatureBaseRSA.SignatureRSASHA512()
          Constructor SignatureRSASHA512
SignatureBaseRSA.SignatureRSASHA512MGF1()
          Constructor SignatureRSASHA512MGF1
SignatureBaseRSA()
          Constructor SignatureRSA
SignatureDSA.SHA256()
           
SignatureDSA()
          Constructor SignatureDSA
SignatureECDSA.SignatureECDSARIPEMD160()
          Constructor SignatureECDSARIPEMD160
SignatureECDSA.SignatureECDSASHA1()
          Constructor SignatureECDSASHA1
SignatureECDSA.SignatureECDSASHA224()
          Constructor SignatureECDSASHA224
SignatureECDSA.SignatureECDSASHA256()
          Constructor SignatureECDSASHA256
SignatureECDSA.SignatureECDSASHA384()
          Constructor SignatureECDSASHA384
SignatureECDSA.SignatureECDSASHA512()
          Constructor SignatureECDSASHA512
SignatureECDSA()
          Constructor SignatureRSA
 

Uses of XMLSignatureException in org.apache.xml.security.signature
 

Subclasses of XMLSignatureException in org.apache.xml.security.signature
 class InvalidDigestValueException
          Raised when the computed hash value doesn't match the given DigestValue.
 class InvalidSignatureValueException
          Raised if testing the signature value over DigestValue fails because of invalid signature.
 class MissingResourceFailureException
          Thrown by SignedInfo.verify() when testing the signature fails because of uninitialized References.
 class ReferenceNotInitializedException
          Raised if verifying a Reference fails because of an uninitialized XMLSignatureInput
 

Methods in org.apache.xml.security.signature that throw XMLSignatureException
 void XMLSignature.addDocument(String referenceURI)
          Add a Reference with just this URI.
 void Manifest.addDocument(String baseURI, String referenceURI, Transforms transforms, String digestURI, String referenceId, String referenceType)
          This addDocument method is used to add a new resource to the signed info.
 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 the Manifest.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 Signature
 void XMLSignature.appendObject(ObjectContainer object)
          Appends an Object (not a java.lang.Object but an Object element) to the Signature.
 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.
 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.
protected  XMLSignatureInput Reference.dereferenceURIandPerformTransforms(OutputStream os)
          This method returns the XMLSignatureInput which is referenced by the URI Attribute.
 void Reference.generateDigestValue()
          Method generateDigestValue
 void 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.
 XMLSignatureInput Reference.getContentsAfterTransformation()
          Returns the XMLSignatureInput which is the result of the Transforms.
 String Reference.getHTMLRepresentation()
          Method getHTMLRepresentation
 String XMLSignatureInputDebugger.getHTMLRepresentation()
          Method getHTMLRepresentation
 String XMLSignatureInput.getHTMLRepresentation()
          Method getHTMLRepresentation
 String XMLSignatureInput.getHTMLRepresentation(Set<String> inclusiveNamespaces)
          Method getHTMLRepresentation
 MessageDigestAlgorithm Reference.getMessageDigestAlgorithm()
          Returns MessageDigestAlgorithm
 XMLSignatureInput 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 getReferencedBytes
 byte[] XMLSignature.getSignatureValue()
          Returns the octet value of the SignatureValue element.
 byte[] Manifest.getSignedContentItem(int i)
          Method getSignedContentItem
 Transforms Reference.getTransforms()
          Method getTransforms
 SignatureProperty SignatureProperties.item(int i)
          Return the ith SignatureProperty.
 void XMLSignature.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
Reference(Document doc, String baseURI, String referenceURI, Manifest manifest, Transforms transforms, String messageDigestAlgorithm)
          Constructor Reference
XMLSignature(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
Transforms(Element element, String BaseURI)
          Constructs Transforms from Element which is Transforms Element
 



Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.