Uses of Class
org.apache.xml.security.exceptions.XMLSecurityException
-
-
Uses of XMLSecurityException in org.apache.xml.security.algorithms
Constructors in org.apache.xml.security.algorithms that throw XMLSecurityException Constructor Description Algorithm(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor AlgorithmSignatureAlgorithm(org.w3c.dom.Document doc, java.lang.String algorithmURI)
Constructor SignatureAlgorithmSignatureAlgorithm(org.w3c.dom.Document doc, java.lang.String algorithmURI, int hmacOutputLength)
Constructor SignatureAlgorithmSignatureAlgorithm(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor SignatureAlgorithmSignatureAlgorithm(org.w3c.dom.Element element, java.lang.String baseURI, boolean secureValidation)
Constructor SignatureAlgorithm -
Uses of XMLSecurityException in org.apache.xml.security.c14n
Subclasses of XMLSecurityException in org.apache.xml.security.c14n Modifier and Type Class Description class
CanonicalizationException
Class CanonicalizationExceptionclass
InvalidCanonicalizerException
-
Uses of XMLSecurityException in org.apache.xml.security.encryption
Subclasses of XMLSecurityException in org.apache.xml.security.encryption Modifier and Type Class Description class
XMLEncryptionException
Constructors in org.apache.xml.security.encryption that throw XMLSecurityException Constructor Description TransformsImpl(org.w3c.dom.Element element)
-
Uses of XMLSecurityException in org.apache.xml.security.exceptions
Subclasses of XMLSecurityException in org.apache.xml.security.exceptions Modifier and Type Class Description class
AlgorithmAlreadyRegisteredException
class
Base64DecodingException
This Exception is thrown if decoding of Base64 data fails. -
Uses of XMLSecurityException in org.apache.xml.security.keys
Subclasses of XMLSecurityException in org.apache.xml.security.keys Modifier and Type Class Description class
ContentHandlerAlreadyRegisteredException
Methods in org.apache.xml.security.keys that throw XMLSecurityException Modifier and Type Method Description void
KeyInfo. addDEREncodedKeyValue(java.security.PublicKey pk)
Method addDEREncodedKeyValuevoid
KeyInfo. addKeyInfoReference(java.lang.String URI)
Method addKeyInfoReferenceDEREncodedKeyValue
KeyInfo. itemDEREncodedKeyValue(int i)
Method itemDEREncodedKeyValueEncryptedKey
KeyInfo. itemEncryptedKey(int i)
Method itemEncryptedKeyKeyInfoReference
KeyInfo. itemKeyInfoReference(int i)
Method itemKeyInfoReferenceKeyName
KeyInfo. itemKeyName(int i)
Method itemKeyNameKeyValue
KeyInfo. itemKeyValue(int i)
Method itemKeyValueMgmtData
KeyInfo. itemMgmtData(int i)
Method itemMgmtDataPGPData
KeyInfo. itemPGPData(int i)
Method itemPGPDataRetrievalMethod
KeyInfo. itemRetrievalMethod(int i)
Method itemRetrievalMethodSPKIData
KeyInfo. itemSPKIData(int i)
Method itemSPKIDataX509Data
KeyInfo. itemX509Data(int i)
Method itemX509Datastatic void
KeyUtils. prinoutKeyInfo(KeyInfo ki, java.io.PrintStream os)
Method prinoutKeyInfoConstructors in org.apache.xml.security.keys that throw XMLSecurityException Constructor Description KeyInfo(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor KeyInfo -
Uses of XMLSecurityException in org.apache.xml.security.keys.content
Methods in org.apache.xml.security.keys.content that throw XMLSecurityException Modifier and Type Method Description void
X509Data. addCertificate(java.security.cert.X509Certificate x509certificate)
Method addCertificatevoid
X509Data. addDigest(java.security.cert.X509Certificate x509certificate, java.lang.String algorithmURI)
Method addDigestvoid
X509Data. addSKI(java.security.cert.X509Certificate x509certificate)
Method addSKIprotected byte[]
DEREncodedKeyValue. getEncodedDER(java.security.PublicKey publicKey)
Method getEncodedDERjava.security.PublicKey
DEREncodedKeyValue. getPublicKey()
Method getPublicKeyjava.security.PublicKey
KeyValue. getPublicKey()
Method getPublicKeyTransforms
RetrievalMethod. getTransforms()
Method getTransformsXMLX509Certificate
X509Data. itemCertificate(int i)
Method itemCertificateXMLX509CRL
X509Data. itemCRL(int i)
Method itemCRLXMLX509Digest
X509Data. itemDigest(int i)
Method itemDigestXMLX509IssuerSerial
X509Data. itemIssuerSerial(int i)
Method itemIssuerSerialXMLX509SKI
X509Data. itemSKI(int i)
Method itemSKIXMLX509SubjectName
X509Data. itemSubjectName(int i)
Method itemSubjectNameConstructors in org.apache.xml.security.keys.content that throw XMLSecurityException Constructor Description DEREncodedKeyValue(org.w3c.dom.Document doc, java.security.PublicKey publicKey)
Constructor DEREncodedKeyValueDEREncodedKeyValue(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor DEREncodedKeyValueKeyInfoReference(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor RetrievalMethodKeyName(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor KeyNameKeyValue(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor KeyValueMgmtData(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor MgmtDataPGPData(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor PGPDataRetrievalMethod(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor RetrievalMethodSPKIData(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor SPKIDataX509Data(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor X509Data -
Uses of XMLSecurityException in org.apache.xml.security.keys.content.keyvalues
Methods in org.apache.xml.security.keys.content.keyvalues that throw XMLSecurityException Modifier and Type Method Description java.security.PublicKey
DSAKeyValue. getPublicKey()
Method getPublicKeyjava.security.PublicKey
ECKeyValue. getPublicKey()
Method getPublicKeyjava.security.PublicKey
KeyValueContent. getPublicKey()
Method getPublicKeyjava.security.PublicKey
RSAKeyValue. getPublicKey()
Method getPublicKeyConstructors in org.apache.xml.security.keys.content.keyvalues that throw XMLSecurityException Constructor Description DSAKeyValue(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor DSAKeyValueECKeyValue(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor DSAKeyValueRSAKeyValue(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor RSAKeyValue -
Uses of XMLSecurityException in org.apache.xml.security.keys.content.x509
Methods in org.apache.xml.security.keys.content.x509 that throw XMLSecurityException Modifier and Type Method Description byte[]
XMLX509Certificate. getCertificateBytes()
Method getCertificateBytesbyte[]
XMLX509CRL. getCRLBytes()
Method getCRLBytesbyte[]
XMLX509Digest. getDigestBytes()
Method getDigestBytesstatic byte[]
XMLX509Digest. getDigestBytesFromCert(java.security.cert.X509Certificate cert, java.lang.String algorithmURI)
Method getDigestBytesFromCertjava.security.PublicKey
XMLX509Certificate. getPublicKey()
Method getPublicKeybyte[]
XMLX509SKI. getSKIBytes()
Method getSKIBytesstatic byte[]
XMLX509SKI. getSKIBytesFromCert(java.security.cert.X509Certificate cert)
Method getSKIBytesFromCertjava.security.cert.X509Certificate
XMLX509Certificate. getX509Certificate()
Method getX509CertificateConstructors in org.apache.xml.security.keys.content.x509 that throw XMLSecurityException Constructor Description XMLX509Certificate(org.w3c.dom.Document doc, java.security.cert.X509Certificate x509certificate)
Constructor XMLX509CertificateXMLX509Certificate(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor X509CertificateXMLX509CRL(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor XMLX509CRLXMLX509Digest(org.w3c.dom.Document doc, java.security.cert.X509Certificate x509certificate, java.lang.String algorithmURI)
Constructor XMLX509DigestXMLX509Digest(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor XMLX509DigestXMLX509IssuerSerial(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor XMLX509IssuerSerialXMLX509SKI(org.w3c.dom.Document doc, java.security.cert.X509Certificate x509certificate)
Constructor XMLX509SKIXMLX509SKI(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor XMLX509SKIXMLX509SubjectName(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor X509SubjectName -
Uses of XMLSecurityException in org.apache.xml.security.keys.keyresolver
Subclasses of XMLSecurityException in org.apache.xml.security.keys.keyresolver Modifier and Type Class Description class
InvalidKeyResolverException
class
KeyResolverException
-
Uses of XMLSecurityException in org.apache.xml.security.keys.keyresolver.implementations
Methods in org.apache.xml.security.keys.keyresolver.implementations that throw XMLSecurityException Modifier and Type Method Description private java.security.cert.X509Certificate
X509DigestResolver. resolveCertificate(org.w3c.dom.Element element, java.lang.String baseURI, StorageResolver storage)
Resolves from the storage resolver the actual certificate represented by the digest.private XMLSignatureInput
KeyInfoReferenceResolver. resolveInput(org.w3c.dom.Attr uri, java.lang.String baseURI, boolean secureValidation)
Resolve the XML signature input represented by the specified URI.private static XMLSignatureInput
RetrievalMethodResolver. resolveInput(RetrievalMethod rm, java.lang.String baseURI, boolean secureValidation)
Resolves the input from the given retrieval methodprivate KeyInfo
KeyInfoReferenceResolver. resolveReferentKeyInfo(org.w3c.dom.Element element, java.lang.String baseURI, StorageResolver storage)
Resolve the KeyInfoReference Element's URI attribute into a KeyInfo instance.private java.security.PrivateKey
PrivateKeyResolver. resolveX509Certificate(XMLX509Certificate x509Cert)
private java.security.PrivateKey
PrivateKeyResolver. resolveX509SKI(XMLX509SKI x509SKI)
private void
KeyInfoReferenceResolver. validateReference(org.w3c.dom.Element referentElement)
Validate the Element referred to by the KeyInfoReference. -
Uses of XMLSecurityException in org.apache.xml.security.keys.storage
Subclasses of XMLSecurityException in org.apache.xml.security.keys.storage Modifier and Type Class Description class
StorageResolverException
-
Uses of XMLSecurityException in org.apache.xml.security.signature
Subclasses of XMLSecurityException in org.apache.xml.security.signature Modifier and Type Class Description 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 bySignedInfo.verify()
when testing the signature fails because of uninitializedReference
s.class
ReferenceNotInitializedException
Raised if verifying aReference
fails because of an uninitializedXMLSignatureInput
class
XMLSignatureException
All XML Signature related exceptions inherit herefrom.Methods in org.apache.xml.security.signature that throw XMLSecurityException Modifier and Type Method Description void
XMLSignature. addKeyInfo(java.security.cert.X509Certificate cert)
Add an X509 Certificate to the KeyInfo.byte[]
SignedInfo. getCanonicalizedOctetStream()
Returns getCanonicalizedOctetStreambyte[]
Reference. getDigestValue()
Returns the digest value.XMLSignatureInput
Manifest. getReferencedContentAfterTransformsItem(int i)
Method getReferencedContentAfterTransformsItemXMLSignatureInput
Manifest. getReferencedContentBeforeTransformsItem(int i)
Method getReferencedContentPriorTransformsItemTransforms
Reference. getTransforms()
Method getTransformsboolean
Manifest. getVerificationResult(int index)
After verifying aManifest
or aSignedInfo
using theManifest.verifyReferences()
orSignedInfo.verify()
methods, the individual results can be retrieved with this method.Reference
Manifest. item(int i)
Return the ith reference.private static org.w3c.dom.Element
SignedInfo. reparseSignedInfoElem(org.w3c.dom.Element element, boolean secureValidation)
void
SignedInfo. signInOctetStream(java.io.OutputStream os)
Output the C14n stream to the given OutputStream.boolean
Reference. verify()
Tests reference validation is success or falseboolean
SignedInfo. verify()
Tests core validation processboolean
SignedInfo. verify(boolean followManifests)
Tests core validation processboolean
Manifest. verifyReferences()
Used to do a reference validation of all enclosed references using theReference.verify()
method.boolean
Manifest. verifyReferences(boolean followManifests)
Used to do a reference validation of all enclosed references using theReference.verify()
method.Constructors in org.apache.xml.security.signature that throw XMLSecurityException Constructor Description Manifest(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor ManifestManifest(org.w3c.dom.Element element, java.lang.String baseURI, boolean secureValidation)
Constructor ManifestObjectContainer(org.w3c.dom.Element element, java.lang.String baseURI)
ConstructsObjectContainer
fromElement
Reference(org.w3c.dom.Element element, java.lang.String baseURI, Manifest manifest)
Build aReference
from anElement
Reference(org.w3c.dom.Element element, java.lang.String baseURI, Manifest manifest, boolean secureValidation)
Build aReference
from anElement
SignatureProperties(org.w3c.dom.Element element, java.lang.String baseURI)
ConstructsSignatureProperties
fromElement
SignatureProperty(org.w3c.dom.Element element, java.lang.String baseURI)
Constructs aSignatureProperty
from anElement
SignedInfo(org.w3c.dom.Document doc)
OverwritesManifest.addDocument(java.lang.String, java.lang.String, org.apache.xml.security.transforms.Transforms, java.lang.String, java.lang.String, java.lang.String)
because it creates another Element.SignedInfo(org.w3c.dom.Document doc, java.lang.String signatureMethodURI, int hMACOutputLength, java.lang.String canonicalizationMethodURI)
Constructor SignedInfoSignedInfo(org.w3c.dom.Document doc, java.lang.String signatureMethodURI, java.lang.String canonicalizationMethodURI)
ConstructsSignedInfo
using given Canonicalization algorithm and Signature algorithm.SignedInfo(org.w3c.dom.Document doc, org.w3c.dom.Element signatureMethodElem, org.w3c.dom.Element canonicalizationMethodElem)
SignedInfo(org.w3c.dom.Element element, java.lang.String baseURI)
Build aSignedInfo
from anElement
SignedInfo(org.w3c.dom.Element element, java.lang.String baseURI, boolean secureValidation)
Build aSignedInfo
from anElement
XMLSignature(org.w3c.dom.Document doc, java.lang.String baseURI, java.lang.String signatureMethodURI)
This creates a newds:Signature
Element and adds an emptyds:SignedInfo
.XMLSignature(org.w3c.dom.Document doc, java.lang.String baseURI, java.lang.String signatureMethodURI, int hmacOutputLength)
Constructor XMLSignatureXMLSignature(org.w3c.dom.Document doc, java.lang.String baseURI, java.lang.String signatureMethodURI, int hmacOutputLength, java.lang.String canonicalizationMethodURI)
Constructor XMLSignatureXMLSignature(org.w3c.dom.Document doc, java.lang.String baseURI, java.lang.String signatureMethodURI, java.lang.String canonicalizationMethodURI)
Constructor XMLSignatureXMLSignature(org.w3c.dom.Document doc, java.lang.String baseURI, org.w3c.dom.Element SignatureMethodElem, org.w3c.dom.Element CanonicalizationMethodElem)
Creates a XMLSignature in a DocumentXMLSignature(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 XMLSecurityException in org.apache.xml.security.stax.config
Methods in org.apache.xml.security.stax.config that throw XMLSecurityException Modifier and Type Method Description static ResourceResolver
ResourceResolverMapper. getResourceResolver(java.lang.String uri, java.lang.String baseURI)
static java.lang.Class<?>
TransformerAlgorithmMapper. getTransformerClass(java.lang.String algoURI, XMLSecurityConstants.DIRECTION direction)
static void
Init. init(java.net.URI uri, java.lang.Class<?> callingClass)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.ext
Subclasses of XMLSecurityException in org.apache.xml.security.stax.ext Modifier and Type Class Description class
XMLSecurityConfigurationException
Exception when configuration errors are detectedMethods in org.apache.xml.security.stax.ext that throw XMLSecurityException Modifier and Type Method Description private void
OutboundXMLSec. configureEncryptionKeys(OutboundSecurityContextImpl outboundSecurityContext)
private void
OutboundXMLSec. configureSignatureKeys(OutboundSecurityContextImpl outboundSecurityContext)
void
AbstractOutputProcessor. createCharactersAndOutputAsEvent(OutputProcessorChain outputProcessorChain, char[] text)
void
AbstractOutputProcessor. createCharactersAndOutputAsEvent(OutputProcessorChain outputProcessorChain, java.lang.String characters)
void
AbstractOutputProcessor. createEndElementAndOutputAsEvent(OutputProcessorChain outputProcessorChain, javax.xml.namespace.QName element)
static void
XMLSecurityUtils. createKeyNameTokenStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.lang.String keyName)
static void
XMLSecurityUtils. createKeyValueTokenStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates)
static void
XMLSecurityUtils. createKeyValueTokenStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.PublicKey publicKey)
XMLSecStartElement
AbstractOutputProcessor. createStartElementAndOutputAsEvent(OutputProcessorChain outputProcessorChain, javax.xml.namespace.QName element, boolean outputLocalNs, java.util.List<XMLSecAttribute> attributes)
void
AbstractOutputProcessor. createStartElementAndOutputAsEvent(OutputProcessorChain outputProcessorChain, javax.xml.namespace.QName element, java.util.List<XMLSecNamespace> namespaces, java.util.List<XMLSecAttribute> attributes)
InputProcessorChain
InputProcessorChain. createSubChain(InputProcessor inputProcessor)
Create a new SubChain.InputProcessorChain
InputProcessorChain. createSubChain(InputProcessor inputProcessor, boolean clone)
Create a new SubChain.OutputProcessorChain
OutputProcessorChain. createSubChain(OutputProcessor outputProcessor)
Create a new SubChain.OutputProcessorChain
OutputProcessorChain. createSubChain(OutputProcessor outputProcessor, XMLSecStartElement parentXMLSecStartElement)
static TokenSecurityEvent<? extends InboundSecurityToken>
XMLSecurityUtils. createTokenSecurityEvent(InboundSecurityToken inboundSecurityToken, java.lang.String correlationID)
static void
XMLSecurityUtils. createX509CertificateStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates)
static void
XMLSecurityUtils. createX509CertificateStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates, boolean outputX509Data)
static void
XMLSecurityUtils. createX509IssuerSerialStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates)
static void
XMLSecurityUtils. createX509IssuerSerialStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates, boolean outputX509Data)
static void
XMLSecurityUtils. createX509SubjectKeyIdentifierStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates)
static void
XMLSecurityUtils. createX509SubjectKeyIdentifierStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates, boolean outputX509Data)
static void
XMLSecurityUtils. createX509SubjectNameStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates)
static void
XMLSecurityUtils. createX509SubjectNameStructure(AbstractOutputProcessor abstractOutputProcessor, OutputProcessorChain outputProcessorChain, java.security.cert.X509Certificate[] x509Certificates, boolean outputX509Data)
void
AbstractBufferingOutputProcessor. doFinal(OutputProcessorChain outputProcessorChain)
void
AbstractInputProcessor. doFinal(InputProcessorChain inputProcessorChain)
void
AbstractOutputProcessor. doFinal(OutputProcessorChain outputProcessorChain)
void
InputProcessor. doFinal(InputProcessorChain inputProcessorChain)
Will be called when the whole document is processed.void
OutputProcessor. doFinal(OutputProcessorChain outputProcessorChain)
Will be called when the whole document is processed.void
ProcessorChain. doFinal()
Will finally be called when the whole document is processed Important note: Every processor in the chain has to call doFinal() in its own doFinal() method.protected void
AbstractBufferingOutputProcessor. flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain, java.util.Deque<XMLSecEvent> xmlSecEventDeque)
static byte[]
XMLSecurityConstants. generateBytes(int length)
Generate bytes of the given length using the SHA1PRNG algorithm.protected java.util.List<javax.xml.namespace.QName>
AbstractInputSecurityHeaderHandler. getElementPath(java.util.Deque<XMLSecEvent> eventDeque)
static InboundXMLSec
XMLSec. getInboundWSSec(XMLSecurityProperties securityProperties)
Creates and configures an inbound streaming security enginejava.io.InputStream
ResourceResolver. getInputStreamFromExternalReference()
static OutboundXMLSec
XMLSec. getOutboundXMLSec(XMLSecurityProperties securityProperties)
Creates and configures an outbound streaming security enginestatic Transformer
XMLSecurityUtils. getTransformer(Transformer transformer, java.io.OutputStream outputStream, java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String algorithm, XMLSecurityConstants.DIRECTION direction)
void
XMLSecurityHeaderHandler. handle(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, java.util.Deque<XMLSecEvent> eventQueue, java.lang.Integer index)
void
AbstractOutputProcessor. init(OutputProcessorChain outputProcessorChain)
void
OutputProcessor. init(OutputProcessorChain outputProcessorChain)
Method will be called after setting the propertiesprivate void
OutboundXMLSec. initializeOutputProcessor(OutputProcessorChainImpl outputProcessorChain, OutputProcessor outputProcessor, XMLSecurityConstants.Action action)
protected void
AbstractOutputProcessor. outputAsEvent(OutputProcessorChain outputProcessorChain, XMLSecEvent xmlSecEvent)
protected void
AbstractOutputProcessor. outputDOMElement(org.w3c.dom.Element element, OutputProcessorChain outputProcessorChain)
protected <T> T
AbstractInputSecurityHeaderHandler. parseStructure(java.util.Deque<XMLSecEvent> eventDeque, int index, XMLSecurityProperties securityProperties)
void
AbstractBufferingOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
abstract void
AbstractOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
XMLSecEvent
InputProcessorChain. processEvent()
Requests the next XMLEvent from the next processor in the chain.void
OutputProcessorChain. processEvent(XMLSecEvent xmlSecEvent)
Forwards the XMLEvent to the next processor in the chain.protected abstract void
AbstractBufferingOutputProcessor. processHeaderEvent(OutputProcessorChain outputProcessorChain)
XMLSecEvent
InputProcessorChain. processHeaderEvent()
Requests the next security header XMLEvent from the next processor in the chain.abstract XMLSecEvent
AbstractInputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
void
AbstractOutputProcessor. processNextEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
XMLSecEvent
InputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next XMLEvent is requestedvoid
OutputProcessor. processNextEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
Will be called from the framework for every XMLEventabstract XMLSecEvent
AbstractInputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
InputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next security-header XMLEvent is requestedjavax.xml.stream.XMLStreamWriter
OutboundXMLSec. processOutMessage(java.io.OutputStream outputStream, java.lang.String encoding)
This method is the entry point for the incoming security-engine.javax.xml.stream.XMLStreamWriter
OutboundXMLSec. processOutMessage(java.io.OutputStream outputStream, java.lang.String encoding, SecurityEventListener eventListener)
private javax.xml.stream.XMLStreamWriter
OutboundXMLSec. processOutMessage(java.lang.Object output, java.lang.String encoding, SecurityEventListener eventListener)
javax.xml.stream.XMLStreamWriter
OutboundXMLSec. processOutMessage(javax.xml.stream.XMLStreamWriter xmlStreamWriter, java.lang.String encoding)
This method is the entry point for the incoming security-engine.javax.xml.stream.XMLStreamWriter
OutboundXMLSec. processOutMessage(javax.xml.stream.XMLStreamWriter xmlStreamWriter, java.lang.String encoding, SecurityEventListener eventListener)
void
Transformer. setOutputStream(java.io.OutputStream outputStream)
void
Transformer. setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
void
Transformer. setTransformer(Transformer transformer)
Constructors in org.apache.xml.security.stax.ext that throw XMLSecurityException Constructor Description AbstractBufferingOutputProcessor()
AbstractOutputProcessor()
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl
Methods in org.apache.xml.security.stax.impl that throw XMLSecurityException Modifier and Type Method Description InputProcessorChain
InputProcessorChainImpl. createSubChain(InputProcessor inputProcessor)
InputProcessorChain
InputProcessorChainImpl. createSubChain(InputProcessor inputProcessor, boolean clone)
OutputProcessorChain
OutputProcessorChainImpl. createSubChain(OutputProcessor outputProcessor)
OutputProcessorChain
OutputProcessorChainImpl. createSubChain(OutputProcessor outputProcessor, XMLSecStartElement parentXMLSecStartElement)
void
InputProcessorChainImpl. doFinal()
void
OutputProcessorChainImpl. doFinal()
protected void
AbstractSecurityContextImpl. forwardSecurityEvent(SecurityEvent securityEvent)
protected void
InboundSecurityContextImpl. forwardSecurityEvent(SecurityEvent securityEvent)
XMLSecEvent
InputProcessorChainImpl. processEvent()
void
OutputProcessorChainImpl. processEvent(XMLSecEvent xmlSecEvent)
XMLSecEvent
InputProcessorChainImpl. processHeaderEvent()
void
AbstractSecurityContextImpl. registerSecurityEvent(SecurityEvent securityEvent)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.algorithms
Methods in org.apache.xml.security.stax.impl.algorithms that throw XMLSecurityException Modifier and Type Method Description void
HMACSignatureAlgorithm. engineInitSign(java.security.Key signingKey)
void
HMACSignatureAlgorithm. engineInitSign(java.security.Key signingKey, java.security.SecureRandom secureRandom)
void
HMACSignatureAlgorithm. engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
void
PKISignatureAlgorithm. engineInitSign(java.security.Key signingKey)
void
PKISignatureAlgorithm. engineInitSign(java.security.Key signingKey, java.security.SecureRandom secureRandom)
void
PKISignatureAlgorithm. engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
void
SignatureAlgorithm. engineInitSign(java.security.Key signingKey)
void
SignatureAlgorithm. engineInitSign(java.security.Key signingKey, java.security.SecureRandom secureRandom)
void
SignatureAlgorithm. engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
void
HMACSignatureAlgorithm. engineInitVerify(java.security.Key verificationKey)
void
PKISignatureAlgorithm. engineInitVerify(java.security.Key verificationKey)
void
SignatureAlgorithm. engineInitVerify(java.security.Key verificationKey)
void
HMACSignatureAlgorithm. engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
void
PKISignatureAlgorithm. engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
void
SignatureAlgorithm. engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
byte[]
HMACSignatureAlgorithm. engineSign()
byte[]
PKISignatureAlgorithm. engineSign()
byte[]
SignatureAlgorithm. engineSign()
void
HMACSignatureAlgorithm. engineUpdate(byte input)
void
HMACSignatureAlgorithm. engineUpdate(byte[] input)
void
HMACSignatureAlgorithm. engineUpdate(byte[] buf, int offset, int len)
void
PKISignatureAlgorithm. engineUpdate(byte input)
void
PKISignatureAlgorithm. engineUpdate(byte[] input)
void
PKISignatureAlgorithm. engineUpdate(byte[] buf, int offset, int len)
void
SignatureAlgorithm. engineUpdate(byte input)
void
SignatureAlgorithm. engineUpdate(byte[] input)
void
SignatureAlgorithm. engineUpdate(byte[] buf, int offset, int len)
boolean
HMACSignatureAlgorithm. engineVerify(byte[] signature)
boolean
PKISignatureAlgorithm. engineVerify(byte[] signature)
boolean
SignatureAlgorithm. engineVerify(byte[] signature)
SignatureAlgorithm
SignatureAlgorithmFactory. getSignatureAlgorithm(java.lang.String algoURI)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.processor.input
Methods in org.apache.xml.security.stax.impl.processor.input that throw XMLSecurityException Modifier and Type Method Description protected abstract void
AbstractSignatureInputHandler. addSignatureReferenceInputProcessorToChain(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, SignatureType signatureType, InboundSecurityToken inboundSecurityToken)
protected void
XMLSignatureInputHandler. addSignatureReferenceInputProcessorToChain(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, SignatureType signatureType, InboundSecurityToken inboundSecurityToken)
protected java.io.InputStream
AbstractDecryptInputProcessor. applyTransforms(ReferenceType referenceType, java.io.InputStream inputStream)
protected Transformer
AbstractSignatureReferenceVerifyInputProcessor. buildTransformerChain(ReferenceType referenceType, java.io.OutputStream outputStream, InputProcessorChain inputProcessorChain, AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier internalSignatureReferenceVerifier)
Transformer
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier. buildTransformerChain(ReferenceType referenceType, java.io.OutputStream outputStream, InputProcessorChain inputProcessorChain)
protected void
AbstractSignatureReferenceVerifyInputProcessor. compareDigest(byte[] calculatedDigest, ReferenceType referenceType)
protected DigestOutputStream
AbstractSignatureReferenceVerifyInputProcessor. createMessageDigestOutputStream(ReferenceType referenceType, InboundSecurityContext inboundSecurityContext)
protected void
AbstractSignatureInputHandler.SignatureVerifier. createSignatureAlgorithm(InboundSecurityToken inboundSecurityToken, SignatureType signatureType)
void
AbstractDecryptInputProcessor. doFinal(InputProcessorChain inputProcessorChain)
protected void
AbstractSignatureInputHandler.SignatureVerifier. doFinal()
void
AbstractSignatureReferenceVerifyInputProcessor. doFinal(InputProcessorChain inputProcessorChain)
void
XMLEventReaderInputProcessor. doFinal(InputProcessorChain inputProcessorChain)
void
XMLSecurityInputProcessor. doFinal(InputProcessorChain inputProcessorChain)
private byte[]
XMLEncryptedKeyInputHandler. generateDigest(byte[] inputBytes)
protected byte[]
XMLEncryptedKeyInputHandler. getBytesFromAttachment(java.lang.String xopUri, XMLSecurityProperties securityProperties)
private javax.crypto.Cipher
AbstractDecryptInputProcessor. getCipher(java.lang.String algorithmURI)
private InboundSecurityToken
AbstractDecryptInputProcessor. getSecurityToken(InputProcessorChain inputProcessorChain, XMLSecStartElement xmlSecStartElement, EncryptedDataType encryptedDataType)
protected AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier
AbstractSignatureReferenceVerifyInputProcessor. getSignatureReferenceVerifier(XMLSecurityProperties securityProperties, InputProcessorChain inputProcessorChain, ReferenceType referenceType, XMLSecStartElement startElement)
void
AbstractSignatureInputHandler. handle(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, java.util.Deque<XMLSecEvent> eventQueue, java.lang.Integer index)
void
XMLEncryptedKeyInputHandler. handle(InputProcessorChain inputProcessorChain, EncryptedKeyType encryptedKeyType, XMLSecEvent responsibleXMLSecStartXMLEvent, XMLSecurityProperties securityProperties)
void
XMLEncryptedKeyInputHandler. handle(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, java.util.Deque<XMLSecEvent> eventQueue, java.lang.Integer index)
protected abstract void
AbstractDecryptInputProcessor. handleCipherReference(InputProcessorChain inputProcessorChain, EncryptedDataType encryptedDataType, javax.crypto.Cipher cipher, InboundSecurityToken inboundSecurityToken)
protected void
XMLDecryptInputProcessor. handleCipherReference(InputProcessorChain inputProcessorChain, EncryptedDataType encryptedDataType, javax.crypto.Cipher cipher, InboundSecurityToken inboundSecurityToken)
protected abstract void
AbstractDecryptInputProcessor. handleEncryptedContent(InputProcessorChain inputProcessorChain, XMLSecStartElement parentXMLSecStartElement, InboundSecurityToken inboundSecurityToken, EncryptedDataType encryptedDataType)
protected void
XMLDecryptInputProcessor. handleEncryptedContent(InputProcessorChain inputProcessorChain, XMLSecStartElement parentXMLSecStartElement, InboundSecurityToken inboundSecurityToken, EncryptedDataType encryptedDataType)
protected abstract void
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor. handleEncryptedElement(InputProcessorChain inputProcessorChain, XMLSecStartElement xmlSecStartElement, InboundSecurityToken inboundSecurityToken, EncryptedDataType encryptedDataType)
protected void
XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor. handleEncryptedElement(InputProcessorChain inputProcessorChain, XMLSecStartElement xmlSecStartElement, InboundSecurityToken inboundSecurityToken, EncryptedDataType encryptedDataType)
protected void
XMLEncryptedKeyInputHandler. handleReferenceList(InputProcessorChain inputProcessorChain, EncryptedKeyType encryptedKeyType, XMLSecurityProperties securityProperties)
protected abstract void
AbstractDecryptInputProcessor. handleSecurityToken(InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext, EncryptedDataType encryptedDataType)
protected void
XMLDecryptInputProcessor. handleSecurityToken(InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext, EncryptedDataType encryptedDataType)
protected abstract java.io.InputStream
AbstractDecryptInputProcessor. handleXOPInclude(InputProcessorChain inputProcessorChain, EncryptedDataType encryptedDataType, java.lang.String href, javax.crypto.Cipher cipher, InboundSecurityToken inboundSecurityToken)
protected java.io.InputStream
XMLDecryptInputProcessor. handleXOPInclude(InputProcessorChain inputProcessorChain, EncryptedDataType encryptedDataType, java.lang.String href, javax.crypto.Cipher cipher, InboundSecurityToken inboundSecurityToken)
protected abstract AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
AbstractDecryptInputProcessor. newDecryptedEventReaderInputProcessor(boolean encryptedHeader, XMLSecStartElement xmlSecStartElement, EncryptedDataType currentEncryptedDataType, InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext)
protected AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
XMLDecryptInputProcessor. newDecryptedEventReaderInputProcessor(boolean encryptedHeader, XMLSecStartElement xmlSecStartElement, EncryptedDataType currentEncryptedDataType, InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext)
protected abstract AbstractSignatureInputHandler.SignatureVerifier
AbstractSignatureInputHandler. newSignatureVerifier(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, SignatureType signatureType)
protected AbstractSignatureInputHandler.SignatureVerifier
XMLSignatureInputHandler. newSignatureVerifier(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, SignatureType signatureType)
private EncryptedDataType
AbstractDecryptInputProcessor. parseEncryptedDataStructure(boolean isSecurityHeaderEvent, XMLSecEvent xmlSecEvent, InputProcessorChain subInputProcessorChain)
protected abstract void
AbstractSignatureReferenceVerifyInputProcessor. processElementPath(java.util.List<javax.xml.namespace.QName> elementPath, InputProcessorChain inputProcessorChain, XMLSecEvent xmlSecEvent, ReferenceType referenceType)
protected void
XMLSignatureReferenceVerifyInputProcessor. processElementPath(java.util.List<javax.xml.namespace.QName> elementPath, InputProcessorChain inputProcessorChain, XMLSecEvent xmlSecEvent, ReferenceType referenceType)
private XMLSecEvent
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor. processEvent(InputProcessorChain inputProcessorChain, boolean headerEvent)
private XMLSecEvent
AbstractDecryptInputProcessor. processEvent(InputProcessorChain inputProcessorChain, boolean isSecurityHeaderEvent)
void
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier. processEvent(XMLSecEvent xmlSecEvent, InputProcessorChain inputProcessorChain)
XMLSecEvent
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
private XMLSecEvent
AbstractDecryptInputProcessor.DecryptionThread. processNextEvent()
XMLSecEvent
AbstractDecryptInputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
AbstractSignatureReferenceVerifyInputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
LogInputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLEventReaderInputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLSecurityInputProcessor.InternalBufferProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLSecurityInputProcessor.InternalReplayProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLSecurityInputProcessor. processNextEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
AbstractDecryptInputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
AbstractSignatureReferenceVerifyInputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
LogInputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLEventReaderInputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLSecurityInputProcessor.InternalBufferProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLSecurityInputProcessor.InternalReplayProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
XMLSecEvent
XMLSecurityInputProcessor. processNextHeaderEvent(InputProcessorChain inputProcessorChain)
private XMLSecEvent
AbstractDecryptInputProcessor. readAndBufferEncryptedHeader(InputProcessorChain inputProcessorChain, boolean isSecurityHeaderEvent, XMLSecEvent xmlSecEvent)
protected java.util.Deque<XMLSecEvent>
AbstractSignatureInputHandler. reparseSignedInfo(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, SignatureType signatureType, java.util.Deque<XMLSecEvent> eventDeque, int index)
protected abstract InboundSecurityToken
AbstractSignatureInputHandler.SignatureVerifier. retrieveSecurityToken(SignatureType signatureType, XMLSecurityProperties securityProperties, InboundSecurityContext inboundSecurityContext)
protected InboundSecurityToken
XMLSignatureInputHandler.XMLSignatureVerifier. retrieveSecurityToken(SignatureType signatureType, XMLSecurityProperties securityProperties, InboundSecurityContext inboundSecurityContext)
protected void
AbstractSignatureReferenceVerifyInputProcessor. verifyExternalReference(InputProcessorChain inputProcessorChain, java.io.InputStream inputStream, ReferenceType referenceType)
protected InboundSecurityToken
AbstractSignatureInputHandler. verifySignedInfo(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, SignatureType signatureType, java.util.Deque<XMLSecEvent> eventDeque, int index)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.processor.output
Methods in org.apache.xml.security.stax.impl.processor.output that throw XMLSecurityException Modifier and Type Method Description protected java.io.OutputStream
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor. applyTransforms(java.io.OutputStream outputStream)
protected Transformer
AbstractSignatureOutputProcessor. buildTransformerChain(java.io.OutputStream outputStream, SignaturePartDef signaturePartDef, XMLSecStartElement xmlSecStartElement)
protected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor
XMLEncryptOutputProcessor. createInternalEncryptionOutputProcessor(EncryptionPartDef encryptionPartDef, XMLSecStartElement startElement, java.lang.String encoding, OutboundSecurityToken keyWrappingToken)
Override this method to return a different AbstractInternalEncryptionOutputProcessor instance which will write out the KeyInfo contents in the EncryptedData.protected abstract void
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor. createKeyInfoStructure(OutputProcessorChain outputProcessorChain)
protected abstract void
AbstractSignatureEndingOutputProcessor. createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain, OutboundSecurityToken securityToken, boolean useSingleCertificate)
protected void
XMLSignatureEndingOutputProcessor. createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain, OutboundSecurityToken securityToken, boolean useSingleCertificate)
protected DigestOutputStream
AbstractSignatureOutputProcessor. createMessageDigestOutputStream(java.lang.String digestAlgorithm)
protected abstract void
AbstractSignatureEndingOutputProcessor. createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain, SignaturePartDef signaturePartDef)
protected void
XMLSignatureEndingOutputProcessor. createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain, SignaturePartDef signaturePartDef)
protected void
AbstractSignatureOutputProcessor. digestExternalReference(OutputProcessorChain outputProcessorChain, SecurePart securePart)
void
AbstractEncryptOutputProcessor. doFinal(OutputProcessorChain outputProcessorChain)
void
AbstractSignatureOutputProcessor. doFinal(OutputProcessorChain outputProcessorChain)
void
FinalOutputProcessor. doFinal(OutputProcessorChain outputProcessorChain)
protected void
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor. doFinalInternal(OutputProcessorChain outputProcessorChain)
protected void
AbstractEncryptOutputProcessor. doFinalInternal(OutputProcessorChain outputProcessorChain)
protected void
AbstractSignatureOutputProcessor. doFinalInternal(OutputProcessorChain outputProcessorChain)
protected void
XMLSignatureEndingOutputProcessor. flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain, java.util.Deque<XMLSecEvent> xmlSecEventDeque)
byte[]
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor. getSignatureValue()
void
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor. init(OutputProcessorChain outputProcessorChain)
void
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor. init(OutputProcessorChain outputProcessorChain)
void
AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor. init(OutputProcessorChain outputProcessorChain)
void
XMLSignatureOutputProcessor. init(OutputProcessorChain outputProcessorChain)
protected abstract AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
AbstractSignatureEndingOutputProcessor. newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm, java.lang.String signatureId, XMLSecStartElement xmlSecStartElement, OutputProcessorChain outputProcessorChain)
protected AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
XMLSignatureEndingOutputProcessor. newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm, java.lang.String signatureId, XMLSecStartElement xmlSecStartElement, OutputProcessorChain outputProcessorChain)
void
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
abstract void
AbstractEncryptOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
void
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
void
AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
abstract void
AbstractSignatureOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
void
FinalOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
void
XMLEncryptOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
void
XMLSignatureOutputProcessor. processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain)
protected void
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor. processEventInternal(XMLSecStartElement xmlSecStartElement, OutputProcessorChain outputProcessorChain)
Creates the Data structure around the cipher datavoid
AbstractSignatureEndingOutputProcessor. processHeaderEvent(OutputProcessorChain outputProcessorChain)
void
XMLSignatureEndingOutputProcessor. processHeaderEvent(OutputProcessorChain outputProcessorChain)
protected void
AbstractEncryptOutputProcessor. verifyEncryptionParts(OutputProcessorChain outputProcessorChain)
protected void
AbstractSignatureOutputProcessor. verifySignatureParts(OutputProcessorChain outputProcessorChain)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.resourceResolvers
Methods in org.apache.xml.security.stax.impl.resourceResolvers that throw XMLSecurityException Modifier and Type Method Description java.io.InputStream
ResolverFilesystem. getInputStreamFromExternalReference()
java.io.InputStream
ResolverHttp. getInputStreamFromExternalReference()
java.io.InputStream
ResolverSameDocument. getInputStreamFromExternalReference()
java.io.InputStream
ResolverXPointer. getInputStreamFromExternalReference()
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.securityToken
Methods in org.apache.xml.security.stax.impl.securityToken that throw XMLSecurityException Modifier and Type Method Description void
AbstractInboundSecurityToken. addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage)
void
AbstractSecurityToken. addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage)
private java.security.PublicKey
ECKeyValueSecurityToken. buildPublicKey(ECKeyValueType ecKeyValueType)
private static java.security.cert.X509Certificate
SecurityTokenFactoryImpl. getCertificateFromBytes(byte[] data)
Construct an X509Certificate'from the byte array.protected java.security.Key
AbstractInboundSecurityToken. getKey(java.lang.String algorithmURI, XMLSecurityConstants.AlgorithmUsage algorithmUsage, java.lang.String correlationID)
InboundSecurityToken
AbstractInboundSecurityToken. getKeyWrappingToken()
OutboundSecurityToken
GenericOutboundSecurityToken. getKeyWrappingToken()
protected java.security.PublicKey
AbstractInboundSecurityToken. getPubKey(java.lang.String algorithmURI, XMLSecurityConstants.AlgorithmUsage algorithmUsage, java.lang.String correlationID)
java.security.PublicKey
AbstractInboundSecurityToken. getPublicKey(java.lang.String algorithmURI, XMLSecurityConstants.AlgorithmUsage algorithmUsage, java.lang.String correlationID)
java.security.PublicKey
AbstractSecurityToken. getPublicKey()
java.security.PublicKey
DsaKeyValueSecurityToken. getPublicKey()
java.security.PublicKey
ECKeyValueSecurityToken. getPublicKey()
java.security.PublicKey
RsaKeyValueSecurityToken. getPublicKey()
java.security.Key
AbstractInboundSecurityToken. getSecretKey(java.lang.String algorithmURI, XMLSecurityConstants.AlgorithmUsage algorithmUsage, java.lang.String correlationID)
java.util.Map<java.lang.String,java.security.Key>
AbstractSecurityToken. getSecretKey()
java.security.Key
GenericOutboundSecurityToken. getSecretKey(java.lang.String algorithmURI)
private KeyNameSecurityToken
SecurityTokenFactoryImpl. getSecurityToken(java.lang.String keyName, XMLSecurityProperties securityProperties, InboundSecurityContext inboundSecurityContext, SecurityTokenConstants.KeyUsage keyUsage)
InboundSecurityToken
SecurityTokenFactoryImpl. getSecurityToken(KeyInfoType keyInfoType, SecurityTokenConstants.KeyUsage keyUsage, XMLSecurityProperties securityProperties, InboundSecurityContext inboundSecurityContext)
private static InboundSecurityToken
SecurityTokenFactoryImpl. getSecurityToken(KeyValueType keyValueType, XMLSecurityProperties securityProperties, InboundSecurityContext inboundSecurityContext, SecurityTokenConstants.KeyUsage keyUsage)
private static InboundSecurityToken
SecurityTokenFactoryImpl. getSecurityToken(X509DataType x509DataType, XMLSecurityProperties securityProperties, InboundSecurityContext inboundSecurityContext, SecurityTokenConstants.KeyUsage keyUsage)
java.util.List<OutboundSecurityToken>
GenericOutboundSecurityToken. getWrappedTokens()
java.security.cert.X509Certificate[]
AbstractSecurityToken. getX509Certificates()
boolean
AbstractSecurityToken. isAsymmetric()
boolean
X509SecurityToken. isAsymmetric()
private void
AbstractInboundSecurityToken. testAndSetInvocation()
void
AbstractInboundSecurityToken. verify()
Constructors in org.apache.xml.security.stax.impl.securityToken that throw XMLSecurityException Constructor Description ECKeyValueSecurityToken(ECKeyValueType ecKeyValueType, InboundSecurityContext inboundSecurityContext)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.transformer
Methods in org.apache.xml.security.stax.impl.transformer that throw XMLSecurityException Modifier and Type Method Description void
TransformBase64Decode. setOutputStream(java.io.OutputStream outputStream)
void
TransformIdentity. setOutputStream(java.io.OutputStream outputStream)
void
TransformIdentity. setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
void
TransformIdentity. setTransformer(Transformer transformer)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.transformer.canonicalizer
Methods in org.apache.xml.security.stax.impl.transformer.canonicalizer that throw XMLSecurityException Modifier and Type Method Description void
Canonicalizer20010315_Excl. setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
void
CanonicalizerBase. setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
void
CanonicalizerBase. setTransformer(Transformer transformer)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.impl.util
Methods in org.apache.xml.security.stax.impl.util that throw XMLSecurityException Modifier and Type Method Description byte[]
SignerOutputStream. sign()
boolean
SignerOutputStream. verify(byte[] signatureValue)
-
Uses of XMLSecurityException in org.apache.xml.security.stax.securityEvent
Methods in org.apache.xml.security.stax.securityEvent that throw XMLSecurityException Modifier and Type Method Description void
SecurityEventListener. registerSecurityEvent(SecurityEvent securityEvent)
Registers a SecurityEvent which will be forwarded to the registered SecurityEventListener -
Uses of XMLSecurityException in org.apache.xml.security.stax.securityToken
Methods in org.apache.xml.security.stax.securityToken that throw XMLSecurityException Modifier and Type Method Description void
SecurityToken. addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage)
static SecurityTokenFactory
SecurityTokenFactory. getInstance()
SecurityToken
SecurityToken. getKeyWrappingToken()
Returns the key wrapping tokenjava.security.PublicKey
InboundSecurityToken. getPublicKey(java.lang.String algorithmURI, XMLSecurityConstants.AlgorithmUsage algorithmUsage, java.lang.String correlationID)
Returns the public key if one exist for this token typejava.security.PublicKey
SecurityToken. getPublicKey()
Returns the public key if one exists and already initialized, null otherwisejava.security.Key
InboundSecurityToken. getSecretKey(java.lang.String algorithmURI, XMLSecurityConstants.AlgorithmUsage algorithmUsage, java.lang.String correlationID)
Returns the secret keyjava.security.Key
OutboundSecurityToken. getSecretKey(java.lang.String algorithmURI)
Returns the secret keyjava.util.Map<java.lang.String,java.security.Key>
SecurityToken. getSecretKey()
Returns the secret key's if already initialized, null otherwiseabstract InboundSecurityToken
SecurityTokenFactory. getSecurityToken(KeyInfoType keyInfoType, SecurityTokenConstants.KeyUsage keyUsage, XMLSecurityProperties securityProperties, InboundSecurityContext inboundSecurityContext)
T
SecurityTokenProvider. getSecurityToken()
Returns the represented SecurityToken of this objectjava.util.List<? extends SecurityToken>
SecurityToken. getWrappedTokens()
java.security.cert.X509Certificate[]
SecurityToken. getX509Certificates()
Returns the certificate chain if one exists for this token typeboolean
SecurityToken. isAsymmetric()
Returns the token typevoid
InboundSecurityToken. verify()
Verifies the key if applicable -
Uses of XMLSecurityException in org.apache.xml.security.transforms
Subclasses of XMLSecurityException in org.apache.xml.security.transforms Modifier and Type Class Description class
InvalidTransformException
class
TransformationException
Constructors in org.apache.xml.security.transforms that throw XMLSecurityException Constructor Description Transform(org.w3c.dom.Element element, java.lang.String baseURI)
Transforms(org.w3c.dom.Element element, java.lang.String baseURI)
-
Uses of XMLSecurityException in org.apache.xml.security.transforms.params
Methods in org.apache.xml.security.transforms.params that throw XMLSecurityException Modifier and Type Method Description static XPathFilterCHGPContainer
XPathFilterCHGPContainer. getInstance(org.w3c.dom.Element element, java.lang.String baseURI)
Creates a XPathFilterCHGPContainer from an existing Element; needed for verification.static XPath2FilterContainer
XPath2FilterContainer. newInstance(org.w3c.dom.Element element, java.lang.String baseURI)
Creates a XPath2FilterContainer from an existing Element; needed for verification.static XPath2FilterContainer04
XPath2FilterContainer04. newInstance(org.w3c.dom.Element element, java.lang.String baseURI)
Creates a XPath2FilterContainer04 from an existing Element; needed for verification.Constructors in org.apache.xml.security.transforms.params that throw XMLSecurityException Constructor Description InclusiveNamespaces(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor InclusiveNamespacesXPath2FilterContainer(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor XPath2FilterContainerXPath2FilterContainer04(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor XPath2FilterContainer04XPathFilterCHGPContainer(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor XPathFilterCHGPContainer -
Uses of XMLSecurityException in org.apache.xml.security.utils
Methods in org.apache.xml.security.utils that throw XMLSecurityException Modifier and Type Method Description byte[]
ElementProxy. getBytesFromTextChild()
Method getBytesFromTextChild(package private) void
ElementProxy. guaranteeThatElementInCorrectSpace()
Method guaranteeThatElementInCorrectSpacestatic void
ElementProxy. registerDefaultPrefixes()
This method registers the default prefixes.static void
ElementProxy. setDefaultPrefix(java.lang.String namespace, java.lang.String prefix)
Method setDefaultPrefixvoid
ElementProxy. setElement(org.w3c.dom.Element element, java.lang.String baseURI)
Method setElementprivate static void
ElementProxy. setNamespacePrefix(java.lang.String namespace, java.lang.String prefix)
void
ElementProxy. setXPathNamespaceContext(java.lang.String prefix, java.lang.String uri)
Adds an xmlns: definition to the Element.Constructors in org.apache.xml.security.utils that throw XMLSecurityException Constructor Description ElementProxy(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor ElementProxyEncryptionElementProxy(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor EncryptionElementProxySignature11ElementProxy(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor Signature11ElementProxySignatureElementProxy(org.w3c.dom.Element element, java.lang.String baseURI)
Constructor SignatureElementProxy -
Uses of XMLSecurityException in org.apache.xml.security.utils.resolver
Subclasses of XMLSecurityException in org.apache.xml.security.utils.resolver Modifier and Type Class Description class
ResourceResolverException
This Exception is thrown if something related to theResourceResolver
goes wrong.
-