|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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(java.security.Key signingKey)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected abstract void |
SignatureAlgorithmSpi.engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Proxy method for Mac
which is executed on the internal Mac.init(Key) object. |
protected abstract void |
SignatureAlgorithmSpi.engineInitSign(java.security.Key signingKey,
java.security.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(java.security.Key verificationKey)
Method engineInitVerify |
protected abstract void |
SignatureAlgorithmSpi.engineSetHMACOutputLength(int HMACOutputLength)
Method engineSetHMACOutputLength |
protected abstract void |
SignatureAlgorithmSpi.engineSetParameter(java.security.spec.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(org.w3c.dom.Document doc,
java.lang.String algorithmURI)
Factory method for constructing a message digest algorithm by name. |
void |
SignatureAlgorithm.initSign(java.security.Key signingKey)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
void |
SignatureAlgorithm.initSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
void |
SignatureAlgorithm.initSign(java.security.Key signingKey,
java.security.SecureRandom secureRandom)
Proxy method for Signature.initSign(java.security.PrivateKey, java.security.SecureRandom)
which is executed on the internal Signature object. |
void |
SignatureAlgorithm.initVerify(java.security.Key verificationKey)
Proxy method for Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature object. |
static void |
SignatureAlgorithm.register(java.lang.String algorithmURI,
java.lang.String implementingClass)
Registers implementing class of the Transform algorithm with algorithmURI |
void |
SignatureAlgorithm.setParameter(java.security.spec.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 |
SignatureBaseRSA.engineInitSign(java.security.Key privateKey)
|
protected void |
SignatureDSA.engineInitSign(java.security.Key privateKey)
|
protected void |
SignatureECDSA.engineInitSign(java.security.Key privateKey)
|
protected void |
IntegrityHmac.engineInitSign(java.security.Key secretKey)
Method engineInitSign |
protected void |
SignatureBaseRSA.engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
|
protected void |
SignatureDSA.engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Method engineInitSign |
protected void |
SignatureECDSA.engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
|
protected void |
IntegrityHmac.engineInitSign(java.security.Key secretKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Method engineInitSign |
protected void |
SignatureBaseRSA.engineInitSign(java.security.Key privateKey,
java.security.SecureRandom secureRandom)
|
protected void |
SignatureDSA.engineInitSign(java.security.Key privateKey,
java.security.SecureRandom secureRandom)
|
protected void |
SignatureECDSA.engineInitSign(java.security.Key privateKey,
java.security.SecureRandom secureRandom)
|
protected void |
IntegrityHmac.engineInitSign(java.security.Key secretKey,
java.security.SecureRandom secureRandom)
Method engineInitSign |
protected void |
SignatureBaseRSA.engineInitVerify(java.security.Key publicKey)
|
protected void |
SignatureDSA.engineInitVerify(java.security.Key publicKey)
|
protected void |
SignatureECDSA.engineInitVerify(java.security.Key publicKey)
|
protected void |
IntegrityHmac.engineInitVerify(java.security.Key secretKey)
Proxy method for Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature object. |
protected void |
SignatureBaseRSA.engineSetHMACOutputLength(int HMACOutputLength)
|
protected void |
SignatureDSA.engineSetHMACOutputLength(int HMACOutputLength)
Method engineSetHMACOutputLength |
protected void |
SignatureECDSA.engineSetHMACOutputLength(int HMACOutputLength)
|
protected void |
SignatureBaseRSA.engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
|
protected void |
SignatureDSA.engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
|
protected void |
SignatureECDSA.engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
|
protected void |
IntegrityHmac.engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
Proxy method for Signature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object. |
protected byte[] |
SignatureBaseRSA.engineSign()
|
protected byte[] |
SignatureDSA.engineSign()
|
protected byte[] |
SignatureECDSA.engineSign()
|
protected byte[] |
IntegrityHmac.engineSign()
Proxy method for Signature.sign()
which is executed on the internal Signature object. |
protected void |
SignatureBaseRSA.engineUpdate(byte input)
|
protected void |
SignatureDSA.engineUpdate(byte input)
|
protected void |
SignatureECDSA.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 |
SignatureBaseRSA.engineUpdate(byte[] input)
|
protected void |
SignatureDSA.engineUpdate(byte[] input)
|
protected void |
SignatureECDSA.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 |
SignatureBaseRSA.engineUpdate(byte[] buf,
int offset,
int len)
|
protected void |
SignatureDSA.engineUpdate(byte[] buf,
int offset,
int len)
|
protected void |
SignatureECDSA.engineUpdate(byte[] buf,
int offset,
int len)
|
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 boolean |
SignatureBaseRSA.engineVerify(byte[] signature)
|
protected boolean |
SignatureDSA.engineVerify(byte[] signature)
|
protected boolean |
SignatureECDSA.engineVerify(byte[] signature)
|
protected boolean |
IntegrityHmac.engineVerify(byte[] signature)
Proxy method for Signature.verify(byte[])
which is executed on the internal Signature object. |
Constructors in org.apache.xml.security.algorithms.implementations that throw XMLSignatureException | |
---|---|
IntegrityHmac.IntegrityHmacMD5()
Constructor IntegrityHmacMD5 |
|
IntegrityHmac.IntegrityHmacRIPEMD160()
Constructor IntegrityHmacRIPEMD160 |
|
IntegrityHmac.IntegrityHmacSHA1()
Constructor IntegrityHmacSHA1 |
|
IntegrityHmac.IntegrityHmacSHA256()
Constructor IntegrityHmacSHA256 |
|
IntegrityHmac.IntegrityHmacSHA384()
Constructor IntegrityHmacSHA384 |
|
IntegrityHmac.IntegrityHmacSHA512()
Constructor IntegrityHmacSHA512 |
|
IntegrityHmac()
Method IntegrityHmacSHA1das |
|
SignatureBaseRSA.SignatureRSAMD5()
Constructor SignatureRSAMD5 |
|
SignatureBaseRSA.SignatureRSARIPEMD160()
Constructor SignatureRSARIPEMD160 |
|
SignatureBaseRSA.SignatureRSASHA1()
Constructor SignatureRSASHA1 |
|
SignatureBaseRSA.SignatureRSASHA256()
Constructor SignatureRSASHA256 |
|
SignatureBaseRSA.SignatureRSASHA384()
Constructor SignatureRSASHA384 |
|
SignatureBaseRSA.SignatureRSASHA512()
Constructor SignatureRSASHA512 |
|
SignatureBaseRSA()
Constructor SignatureRSA |
|
SignatureDSA()
Constructor SignatureDSA |
|
SignatureECDSA.SignatureECDSASHA1()
Constructor SignatureRSASHA1 |
|
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
Reference s. |
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(java.lang.String referenceURI)
Add a Reference with just this URI. |
void |
Manifest.addDocument(java.lang.String BaseURI,
java.lang.String referenceURI,
Transforms transforms,
java.lang.String digestURI,
java.lang.String ReferenceId,
java.lang.String ReferenceType)
This addDocument method is used to add a new resource to the
signed info. |
void |
XMLSignature.addDocument(java.lang.String referenceURI,
Transforms trans)
Adds a Reference with just the URI and the transforms. |
void |
XMLSignature.addDocument(java.lang.String referenceURI,
Transforms trans,
java.lang.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(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 Signature |
void |
XMLSignature.appendObject(ObjectContainer object)
Appends an Object (not a java.lang.Object but an Object
element) to the Signature. |
boolean |
XMLSignature.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. |
boolean |
XMLSignature.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. |
protected XMLSignatureInput |
Reference.dereferenceURIandPerformTransforms(java.io.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. |
java.lang.String |
XMLSignatureInput.getHTMLRepresentation()
Method getHTMLRepresentation |
java.lang.String |
XMLSignatureInputDebugger.getHTMLRepresentation()
Method getHTMLRepresentation |
java.lang.String |
Reference.getHTMLRepresentation()
Method getHTMLRepresentation |
java.lang.String |
XMLSignatureInput.getHTMLRepresentation(java.util.Set 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 |
void |
XMLSignature.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 | |
---|---|
Reference(org.w3c.dom.Document doc,
java.lang.String BaseURI,
java.lang.String ReferenceURI,
Manifest manifest,
Transforms transforms,
java.lang.String messageDigestAlgorithm)
Constructor Reference |
|
XMLSignature(org.w3c.dom.Element element,
java.lang.String BaseURI)
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(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructs Transforms from Element which is
Transforms Element |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |