Constructor and Description |
---|
Algorithm(Element element,
String baseURI)
Constructor Algorithm
|
SignatureAlgorithm(Document doc,
String algorithmURI)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(Document doc,
String algorithmURI,
int hmacOutputLength)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(Document doc,
String algorithmURI,
int hmacOutputLength,
Provider provider) |
SignatureAlgorithm(Document doc,
String algorithmURI,
Provider provider) |
SignatureAlgorithm(Document doc,
String algorithmURI,
Provider provider,
AlgorithmParameterSpec parameterSpec) |
SignatureAlgorithm(Element element,
String baseURI)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(Element element,
String baseURI,
boolean secureValidation)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(Element element,
String baseURI,
boolean secureValidation,
Provider provider) |
SignatureAlgorithm(Element element,
String baseURI,
Provider provider) |
Modifier and Type | Class and Description |
---|---|
class |
CanonicalizationException
Class CanonicalizationException
|
class |
InvalidCanonicalizerException |
Modifier and Type | Class and Description |
---|---|
class |
XMLEncryptionException |
Modifier and Type | Class and Description |
---|---|
class |
AlgorithmAlreadyRegisteredException |
class |
Base64DecodingException
This Exception is thrown if decoding of Base64 data fails.
|
Modifier and Type | Method and Description |
---|---|
void |
KeyInfo.addDEREncodedKeyValue(PublicKey pk)
Method addDEREncodedKeyValue
|
void |
KeyInfo.addKeyInfoReference(String URI)
Method addKeyInfoReference
|
DEREncodedKeyValue |
KeyInfo.itemDEREncodedKeyValue(int i)
Method itemDEREncodedKeyValue
|
EncryptedKey |
KeyInfo.itemEncryptedKey(int i)
Method itemEncryptedKey
|
KeyInfoReference |
KeyInfo.itemKeyInfoReference(int i)
Method itemKeyInfoReference
|
KeyName |
KeyInfo.itemKeyName(int i)
Method itemKeyName
|
KeyValue |
KeyInfo.itemKeyValue(int i)
Method itemKeyValue
|
MgmtData |
KeyInfo.itemMgmtData(int i)
Method itemMgmtData
|
PGPData |
KeyInfo.itemPGPData(int i)
Method itemPGPData
|
RetrievalMethod |
KeyInfo.itemRetrievalMethod(int i)
Method itemRetrievalMethod
|
SPKIData |
KeyInfo.itemSPKIData(int i)
Method itemSPKIData
|
X509Data |
KeyInfo.itemX509Data(int i)
Method itemX509Data
|
Constructor and Description |
---|
KeyInfo(Element element,
String baseURI)
Constructor KeyInfo
|
Modifier and Type | Method and Description |
---|---|
void |
X509Data.addCertificate(X509Certificate x509certificate)
Method addCertificate
|
void |
X509Data.addDigest(X509Certificate x509certificate,
String algorithmURI)
Method addDigest
|
void |
X509Data.addSKI(X509Certificate x509certificate)
Method addSKI
|
protected byte[] |
DEREncodedKeyValue.getEncodedDER(PublicKey publicKey)
Method getEncodedDER
|
PublicKey |
KeyValue.getPublicKey()
Method getPublicKey
|
PublicKey |
DEREncodedKeyValue.getPublicKey()
Method getPublicKey
|
Transforms |
RetrievalMethod.getTransforms()
Method getTransforms
|
XMLX509Certificate |
X509Data.itemCertificate(int i)
Method itemCertificate
|
XMLX509CRL |
X509Data.itemCRL(int i)
Method itemCRL
|
XMLX509Digest |
X509Data.itemDigest(int i)
Method itemDigest
|
XMLX509IssuerSerial |
X509Data.itemIssuerSerial(int i)
Method itemIssuerSerial
|
XMLX509SKI |
X509Data.itemSKI(int i)
Method itemSKI
|
XMLX509SubjectName |
X509Data.itemSubjectName(int i)
Method itemSubjectName
|
Constructor and Description |
---|
DEREncodedKeyValue(Document doc,
PublicKey publicKey)
Constructor DEREncodedKeyValue
|
DEREncodedKeyValue(Element element,
String baseURI)
Constructor DEREncodedKeyValue
|
KeyInfoReference(Element element,
String baseURI)
Constructor RetrievalMethod
|
KeyName(Element element,
String baseURI)
Constructor KeyName
|
KeyValue(Element element,
String baseURI)
Constructor KeyValue
|
MgmtData(Element element,
String baseURI)
Constructor MgmtData
|
PGPData(Element element,
String baseURI)
Constructor PGPData
|
RetrievalMethod(Element element,
String baseURI)
Constructor RetrievalMethod
|
SPKIData(Element element,
String baseURI)
Constructor SPKIData
|
X509Data(Element element,
String baseURI)
Constructor X509Data
|
Modifier and Type | Method and Description |
---|---|
PublicKey |
DSAKeyValue.getPublicKey()
Method getPublicKey
|
PublicKey |
ECKeyValue.getPublicKey()
Method getPublicKey
|
PublicKey |
RSAKeyValue.getPublicKey()
Method getPublicKey
|
PublicKey |
KeyValueContent.getPublicKey()
Method getPublicKey
|
Constructor and Description |
---|
DSAKeyValue(Element element,
String baseURI)
Constructor DSAKeyValue
|
ECKeyValue(Element element,
String baseURI)
Constructor DSAKeyValue
|
RSAKeyValue(Element element,
String baseURI)
Constructor RSAKeyValue
|
Modifier and Type | Method and Description |
---|---|
byte[] |
XMLX509Certificate.getCertificateBytes()
Method getCertificateBytes
|
byte[] |
XMLX509CRL.getCRLBytes()
Method getCRLBytes
|
byte[] |
XMLX509Digest.getDigestBytes()
Method getDigestBytes
|
static byte[] |
XMLX509Digest.getDigestBytesFromCert(X509Certificate cert,
String algorithmURI)
Method getDigestBytesFromCert
|
PublicKey |
XMLX509Certificate.getPublicKey()
Method getPublicKey
|
byte[] |
XMLX509SKI.getSKIBytes()
Method getSKIBytes
|
static byte[] |
XMLX509SKI.getSKIBytesFromCert(X509Certificate cert)
Method getSKIBytesFromCert
|
X509Certificate |
XMLX509Certificate.getX509Certificate()
Method getX509Certificate
|
Constructor and Description |
---|
XMLX509Certificate(Document doc,
X509Certificate x509certificate)
Constructor XMLX509Certificate
|
XMLX509Certificate(Element element,
String baseURI)
Constructor X509Certificate
|
XMLX509CRL(Element element,
String baseURI)
Constructor XMLX509CRL
|
XMLX509Digest(Document doc,
X509Certificate x509certificate,
String algorithmURI)
Constructor XMLX509Digest
|
XMLX509Digest(Element element,
String baseURI)
Constructor XMLX509Digest
|
XMLX509IssuerSerial(Element element,
String baseURI)
Constructor XMLX509IssuerSerial
|
XMLX509SKI(Document doc,
X509Certificate x509certificate)
Constructor XMLX509SKI
|
XMLX509SKI(Element element,
String baseURI)
Constructor XMLX509SKI
|
XMLX509SubjectName(Element element,
String baseURI)
Constructor X509SubjectName
|
Modifier and Type | Class and Description |
---|---|
class |
KeyResolverException |
Modifier and Type | Class and Description |
---|---|
class |
StorageResolverException |
Modifier and Type | Class and Description |
---|---|
class |
XMLParserException |
Modifier and Type | Class and 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 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 |
class |
XMLSignatureException
All XML Signature related exceptions inherit herefrom.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLSignature.addKeyInfo(X509Certificate cert)
Add an X509 Certificate to the KeyInfo.
|
byte[] |
SignedInfo.getCanonicalizedOctetStream()
Returns getCanonicalizedOctetStream
|
byte[] |
Reference.getDigestValue()
Returns the digest value.
|
XMLSignatureInput |
Manifest.getReferencedContentAfterTransformsItem(int i)
Method getReferencedContentAfterTransformsItem
|
XMLSignatureInput |
Manifest.getReferencedContentBeforeTransformsItem(int i)
Method getReferencedContentPriorTransformsItem
|
Transforms |
Reference.getTransforms()
Method getTransforms
|
boolean |
Manifest.getVerificationResult(int index)
After verifying a
Manifest or a SignedInfo using the
Manifest.verifyReferences() or SignedInfo.verify() methods,
the individual results can be retrieved with this method. |
Reference |
Manifest.item(int i)
Return the ith reference.
|
void |
SignedInfo.signInOctetStream(OutputStream os)
Output the C14n stream to the given OutputStream.
|
boolean |
SignedInfo.verify()
Tests core validation process
|
boolean |
Reference.verify()
Tests reference validation is success or false
|
boolean |
SignedInfo.verify(boolean followManifests)
Tests core validation process
|
boolean |
Manifest.verifyReferences()
Used to do a reference
validation of all enclosed references using the
Reference.verify() method. |
boolean |
Manifest.verifyReferences(boolean followManifests)
Used to do a reference
validation of all enclosed references using the
Reference.verify() method. |
Constructor and Description |
---|
Manifest(Element element,
String baseURI)
Constructor Manifest
|
Manifest(Element element,
String baseURI,
boolean secureValidation)
Constructor Manifest
|
ObjectContainer(Element element,
String baseURI)
Constructs
ObjectContainer from Element |
Reference(Element element,
String baseURI,
Manifest manifest)
|
Reference(Element element,
String baseURI,
Manifest manifest,
boolean secureValidation)
|
SignatureProperties(Element element,
String baseURI)
Constructs
SignatureProperties from Element |
SignatureProperty(Element element,
String baseURI)
Constructs a
SignatureProperty from an Element |
SignedInfo(Document doc)
Overwrites
Manifest.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(Document doc,
Element signatureMethodElem,
Element canonicalizationMethodElem) |
SignedInfo(Document doc,
Element signatureMethodElem,
Element canonicalizationMethodElem,
Provider provider) |
SignedInfo(Document doc,
String signatureMethodURI,
int hMACOutputLength,
String canonicalizationMethodURI)
Constructor SignedInfo
|
SignedInfo(Document doc,
String signatureMethodURI,
int hMACOutputLength,
String canonicalizationMethodURI,
Provider provider,
AlgorithmParameterSpec spec)
Constructs
SignedInfo using given Canonicalization algorithm and
Signature algorithm. |
SignedInfo(Document doc,
String signatureMethodURI,
String canonicalizationMethodURI)
Constructs
SignedInfo using given Canonicalization algorithm and
Signature algorithm. |
SignedInfo(Document doc,
String signatureMethodURI,
String canonicalizationMethodURI,
Provider provider)
Constructs
SignedInfo using given Canonicalization algorithm and
Signature algorithm. |
SignedInfo(Element element,
String baseURI)
Build a
SignedInfo from an Element |
SignedInfo(Element element,
String baseURI,
boolean secureValidation)
Build a
SignedInfo from an Element |
SignedInfo(Element element,
String baseURI,
boolean secureValidation,
Provider provider)
Build a
SignedInfo from an Element |
XMLSignature(Document doc,
String baseURI,
Element signatureMethodElem,
Element canonicalizationMethodElem)
Creates a XMLSignature in a Document
|
XMLSignature(Document doc,
String baseURI,
Element signatureMethodElem,
Element canonicalizationMethodElem,
Provider provider) |
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI)
This creates a new
ds:Signature Element and adds an empty
ds:SignedInfo . |
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
int hmacOutputLength)
Constructor XMLSignature
|
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
int hmacOutputLength,
Provider provider)
Constructor XMLSignature
|
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
int hmacOutputLength,
String canonicalizationMethodURI)
Constructor XMLSignature
|
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
int hmacOutputLength,
String canonicalizationMethodURI,
Provider provider,
AlgorithmParameterSpec spec)
Constructor XMLSignature
|
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
Provider provider)
This creates a new
ds:Signature Element and adds an empty
ds:SignedInfo . |
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
String canonicalizationMethodURI)
Constructor XMLSignature
|
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
String canonicalizationMethodURI,
Provider provider)
Constructor XMLSignature
|
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.
|
XMLSignature(Element element,
String baseURI,
boolean secureValidation,
Provider provider)
This will parse the element and construct the Java Objects.
|
XMLSignature(Element element,
String baseURI,
Provider provider)
This will parse the element and construct the Java Objects.
|
Modifier and Type | Method and Description |
---|---|
static ResourceResolver |
ResourceResolverMapper.getResourceResolver(String uri,
String baseURI) |
static Class<?> |
TransformerAlgorithmMapper.getTransformerClass(String algoURI,
XMLSecurityConstants.DIRECTION direction) |
static void |
Init.init(URI uri,
Class<?> callingClass) |
Modifier and Type | Class and Description |
---|---|
class |
XMLSecurityConfigurationException
Exception when configuration errors are detected
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractOutputProcessor.createCharactersAndOutputAsEvent(OutputProcessorChain outputProcessorChain,
char[] text) |
void |
AbstractOutputProcessor.createCharactersAndOutputAsEvent(OutputProcessorChain outputProcessorChain,
String characters) |
void |
AbstractOutputProcessor.createEndElementAndOutputAsEvent(OutputProcessorChain outputProcessorChain,
QName element) |
static void |
XMLSecurityUtils.createKeyNameTokenStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
String keyName) |
static void |
XMLSecurityUtils.createKeyValueTokenStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
PublicKey publicKey) |
static void |
XMLSecurityUtils.createKeyValueTokenStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates) |
XMLSecStartElement |
AbstractOutputProcessor.createStartElementAndOutputAsEvent(OutputProcessorChain outputProcessorChain,
QName element,
boolean outputLocalNs,
List<XMLSecAttribute> attributes) |
void |
AbstractOutputProcessor.createStartElementAndOutputAsEvent(OutputProcessorChain outputProcessorChain,
QName element,
List<XMLSecNamespace> namespaces,
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,
String correlationID) |
static void |
XMLSecurityUtils.createX509CertificateStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates) |
static void |
XMLSecurityUtils.createX509CertificateStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates,
boolean outputX509Data) |
static void |
XMLSecurityUtils.createX509IssuerSerialStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates) |
static void |
XMLSecurityUtils.createX509IssuerSerialStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates,
boolean outputX509Data) |
static void |
XMLSecurityUtils.createX509SubjectKeyIdentifierStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates) |
static void |
XMLSecurityUtils.createX509SubjectKeyIdentifierStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates,
boolean outputX509Data) |
static void |
XMLSecurityUtils.createX509SubjectNameStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates) |
static void |
XMLSecurityUtils.createX509SubjectNameStructure(AbstractOutputProcessor abstractOutputProcessor,
OutputProcessorChain outputProcessorChain,
X509Certificate[] x509Certificates,
boolean outputX509Data) |
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.
|
void |
InputProcessor.doFinal(InputProcessorChain inputProcessorChain)
Will be called when the whole document is processed.
|
void |
AbstractInputProcessor.doFinal(InputProcessorChain inputProcessorChain) |
void |
AbstractOutputProcessor.doFinal(OutputProcessorChain outputProcessorChain) |
void |
AbstractBufferingOutputProcessor.doFinal(OutputProcessorChain outputProcessorChain) |
void |
OutputProcessor.doFinal(OutputProcessorChain outputProcessorChain)
Will be called when the whole document is processed.
|
protected void |
AbstractBufferingOutputProcessor.flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain,
Deque<XMLSecEvent> xmlSecEventDeque) |
static byte[] |
XMLSecurityConstants.generateBytes(int length)
Generate bytes of the given length using the SHA1PRNG algorithm.
|
protected List<QName> |
AbstractInputSecurityHeaderHandler.getElementPath(Deque<XMLSecEvent> eventDeque) |
static InboundXMLSec |
XMLSec.getInboundWSSec(XMLSecurityProperties securityProperties)
Creates and configures an inbound streaming security engine
|
InputStream |
ResourceResolver.getInputStreamFromExternalReference() |
static OutboundXMLSec |
XMLSec.getOutboundXMLSec(XMLSecurityProperties securityProperties)
Creates and configures an outbound streaming security engine
|
static Transformer |
XMLSecurityUtils.getTransformer(Transformer transformer,
OutputStream outputStream,
Map<String,Object> properties,
String algorithm,
XMLSecurityConstants.DIRECTION direction) |
void |
XMLSecurityHeaderHandler.handle(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
Deque<XMLSecEvent> eventQueue,
Integer index) |
void |
AbstractOutputProcessor.init(OutputProcessorChain outputProcessorChain) |
void |
OutputProcessor.init(OutputProcessorChain outputProcessorChain)
Method will be called after setting the properties
|
protected void |
AbstractOutputProcessor.outputAsEvent(OutputProcessorChain outputProcessorChain,
XMLSecEvent xmlSecEvent) |
protected void |
AbstractOutputProcessor.outputDOMElement(Element element,
OutputProcessorChain outputProcessorChain) |
protected <T> T |
AbstractInputSecurityHeaderHandler.parseStructure(Deque<XMLSecEvent> eventDeque,
int index,
XMLSecurityProperties securityProperties) |
XMLSecEvent |
InputProcessorChain.processEvent()
Requests the next XMLEvent from the next processor in the chain.
|
XMLSecEvent |
InputProcessor.processEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next XMLEvent is requested
|
void |
OutputProcessorChain.processEvent(XMLSecEvent xmlSecEvent)
Forwards the XMLEvent to the next processor in the chain.
|
void |
AbstractBufferingOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
void |
OutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
Will be called from the framework for every XMLEvent
|
XMLSecEvent |
InputProcessorChain.processHeaderEvent()
Requests the next security header XMLEvent from the next processor in the chain.
|
XMLSecEvent |
InputProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next security-header XMLEvent is requested
|
protected abstract void |
AbstractBufferingOutputProcessor.processHeaderEvent(OutputProcessorChain outputProcessorChain) |
XMLStreamWriter |
OutboundXMLSec.processOutMessage(OutputStream outputStream,
String encoding)
This method is the entry point for the incoming security-engine.
|
XMLStreamWriter |
OutboundXMLSec.processOutMessage(OutputStream outputStream,
String encoding,
SecurityEventListener eventListener) |
XMLStreamWriter |
OutboundXMLSec.processOutMessage(XMLStreamWriter xmlStreamWriter,
String encoding)
This method is the entry point for the incoming security-engine.
|
XMLStreamWriter |
OutboundXMLSec.processOutMessage(XMLStreamWriter xmlStreamWriter,
String encoding,
SecurityEventListener eventListener) |
void |
Transformer.setOutputStream(OutputStream outputStream) |
void |
Transformer.setProperties(Map<String,Object> properties) |
void |
Transformer.setTransformer(Transformer transformer) |
Constructor and Description |
---|
AbstractBufferingOutputProcessor() |
AbstractOutputProcessor() |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
void |
SignatureAlgorithm.engineInitSign(Key signingKey) |
void |
PKISignatureAlgorithm.engineInitSign(Key signingKey) |
void |
HMACSignatureAlgorithm.engineInitSign(Key signingKey) |
void |
SignatureAlgorithm.engineInitSign(Key signingKey,
AlgorithmParameterSpec algorithmParameterSpec) |
void |
PKISignatureAlgorithm.engineInitSign(Key signingKey,
AlgorithmParameterSpec algorithmParameterSpec) |
void |
HMACSignatureAlgorithm.engineInitSign(Key signingKey,
AlgorithmParameterSpec algorithmParameterSpec) |
void |
SignatureAlgorithm.engineInitSign(Key signingKey,
SecureRandom secureRandom) |
void |
PKISignatureAlgorithm.engineInitSign(Key signingKey,
SecureRandom secureRandom) |
void |
HMACSignatureAlgorithm.engineInitSign(Key signingKey,
SecureRandom secureRandom) |
void |
SignatureAlgorithm.engineInitVerify(Key verificationKey) |
void |
PKISignatureAlgorithm.engineInitVerify(Key verificationKey) |
void |
HMACSignatureAlgorithm.engineInitVerify(Key verificationKey) |
void |
SignatureAlgorithm.engineSetParameter(AlgorithmParameterSpec params) |
void |
PKISignatureAlgorithm.engineSetParameter(AlgorithmParameterSpec params) |
void |
HMACSignatureAlgorithm.engineSetParameter(AlgorithmParameterSpec params) |
byte[] |
SignatureAlgorithm.engineSign() |
byte[] |
PKISignatureAlgorithm.engineSign() |
byte[] |
HMACSignatureAlgorithm.engineSign() |
void |
SignatureAlgorithm.engineUpdate(byte input) |
void |
PKISignatureAlgorithm.engineUpdate(byte input) |
void |
HMACSignatureAlgorithm.engineUpdate(byte input) |
void |
SignatureAlgorithm.engineUpdate(byte[] input) |
void |
PKISignatureAlgorithm.engineUpdate(byte[] input) |
void |
HMACSignatureAlgorithm.engineUpdate(byte[] input) |
void |
SignatureAlgorithm.engineUpdate(byte[] buf,
int offset,
int len) |
void |
PKISignatureAlgorithm.engineUpdate(byte[] buf,
int offset,
int len) |
void |
HMACSignatureAlgorithm.engineUpdate(byte[] buf,
int offset,
int len) |
boolean |
SignatureAlgorithm.engineVerify(byte[] signature) |
boolean |
PKISignatureAlgorithm.engineVerify(byte[] signature) |
boolean |
HMACSignatureAlgorithm.engineVerify(byte[] signature) |
SignatureAlgorithm |
SignatureAlgorithmFactory.getSignatureAlgorithm(String algoURI) |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLSignatureInputHandler.addSignatureReferenceInputProcessorToChain(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
InboundSecurityToken inboundSecurityToken) |
protected abstract void |
AbstractSignatureInputHandler.addSignatureReferenceInputProcessorToChain(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
InboundSecurityToken inboundSecurityToken) |
protected InputStream |
AbstractDecryptInputProcessor.applyTransforms(org.apache.xml.security.binding.xmlenc.ReferenceType referenceType,
InputStream inputStream) |
Transformer |
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier.buildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
OutputStream outputStream,
InputProcessorChain inputProcessorChain) |
protected Transformer |
AbstractSignatureReferenceVerifyInputProcessor.buildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
OutputStream outputStream,
InputProcessorChain inputProcessorChain,
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier internalSignatureReferenceVerifier) |
protected void |
AbstractSignatureReferenceVerifyInputProcessor.compareDigest(byte[] calculatedDigest,
org.apache.xml.security.binding.xmldsig.ReferenceType referenceType) |
protected DigestOutputStream |
AbstractSignatureReferenceVerifyInputProcessor.createMessageDigestOutputStream(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
InboundSecurityContext inboundSecurityContext) |
protected void |
AbstractSignatureInputHandler.SignatureVerifier.createSignatureAlgorithm(InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType) |
protected void |
AbstractSignatureInputHandler.SignatureVerifier.doFinal() |
void |
XMLSecurityInputProcessor.doFinal(InputProcessorChain inputProcessorChain) |
void |
AbstractDecryptInputProcessor.doFinal(InputProcessorChain inputProcessorChain) |
void |
XMLEventReaderInputProcessor.doFinal(InputProcessorChain inputProcessorChain) |
void |
AbstractSignatureReferenceVerifyInputProcessor.doFinal(InputProcessorChain inputProcessorChain) |
protected byte[] |
XMLEncryptedKeyInputHandler.getBytesFromAttachment(String xopUri,
XMLSecurityProperties securityProperties) |
protected AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier |
AbstractSignatureReferenceVerifyInputProcessor.getSignatureReferenceVerifier(XMLSecurityProperties securityProperties,
InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
XMLSecStartElement startElement) |
void |
XMLEncryptedKeyInputHandler.handle(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType,
XMLSecEvent responsibleXMLSecStartXMLEvent,
XMLSecurityProperties securityProperties) |
void |
XMLEncryptedKeyInputHandler.handle(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
Deque<XMLSecEvent> eventQueue,
Integer index) |
void |
AbstractSignatureInputHandler.handle(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
Deque<XMLSecEvent> eventQueue,
Integer index) |
protected void |
XMLDecryptInputProcessor.handleCipherReference(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
Cipher cipher,
InboundSecurityToken inboundSecurityToken) |
protected abstract void |
AbstractDecryptInputProcessor.handleCipherReference(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
Cipher cipher,
InboundSecurityToken inboundSecurityToken) |
protected void |
XMLDecryptInputProcessor.handleEncryptedContent(InputProcessorChain inputProcessorChain,
XMLSecStartElement parentXMLSecStartElement,
InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) |
protected abstract void |
AbstractDecryptInputProcessor.handleEncryptedContent(InputProcessorChain inputProcessorChain,
XMLSecStartElement parentXMLSecStartElement,
InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) |
protected void |
XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor.handleEncryptedElement(InputProcessorChain inputProcessorChain,
XMLSecStartElement xmlSecStartElement,
InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) |
protected abstract void |
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor.handleEncryptedElement(InputProcessorChain inputProcessorChain,
XMLSecStartElement xmlSecStartElement,
InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) |
protected void |
XMLEncryptedKeyInputHandler.handleReferenceList(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType,
XMLSecurityProperties securityProperties) |
protected void |
XMLDecryptInputProcessor.handleSecurityToken(InboundSecurityToken inboundSecurityToken,
InboundSecurityContext inboundSecurityContext,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) |
protected abstract void |
AbstractDecryptInputProcessor.handleSecurityToken(InboundSecurityToken inboundSecurityToken,
InboundSecurityContext inboundSecurityContext,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) |
protected InputStream |
XMLDecryptInputProcessor.handleXOPInclude(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
String href,
Cipher cipher,
InboundSecurityToken inboundSecurityToken) |
protected abstract InputStream |
AbstractDecryptInputProcessor.handleXOPInclude(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
String href,
Cipher cipher,
InboundSecurityToken inboundSecurityToken) |
protected AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor |
XMLDecryptInputProcessor.newDecryptedEventReaderInputProcessor(boolean encryptedHeader,
XMLSecStartElement xmlSecStartElement,
org.apache.xml.security.binding.xmlenc.EncryptedDataType currentEncryptedDataType,
InboundSecurityToken inboundSecurityToken,
InboundSecurityContext inboundSecurityContext) |
protected abstract AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor |
AbstractDecryptInputProcessor.newDecryptedEventReaderInputProcessor(boolean encryptedHeader,
XMLSecStartElement xmlSecStartElement,
org.apache.xml.security.binding.xmlenc.EncryptedDataType currentEncryptedDataType,
InboundSecurityToken inboundSecurityToken,
InboundSecurityContext inboundSecurityContext) |
protected AbstractSignatureInputHandler.SignatureVerifier |
XMLSignatureInputHandler.newSignatureVerifier(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType) |
protected abstract AbstractSignatureInputHandler.SignatureVerifier |
AbstractSignatureInputHandler.newSignatureVerifier(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType) |
protected void |
XMLSignatureReferenceVerifyInputProcessor.processElementPath(List<QName> elementPath,
InputProcessorChain inputProcessorChain,
XMLSecEvent xmlSecEvent,
org.apache.xml.security.binding.xmldsig.ReferenceType referenceType) |
protected abstract void |
AbstractSignatureReferenceVerifyInputProcessor.processElementPath(List<QName> elementPath,
InputProcessorChain inputProcessorChain,
XMLSecEvent xmlSecEvent,
org.apache.xml.security.binding.xmldsig.ReferenceType referenceType) |
XMLSecEvent |
LogInputProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLSecurityInputProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLSecurityInputProcessor.InternalBufferProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLSecurityInputProcessor.InternalReplayProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractDecryptInputProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLEventReaderInputProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractSignatureReferenceVerifyInputProcessor.processEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier.processEvent(InputProcessorChain inputProcessorChain) |
void |
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier.processEvent(XMLSecEvent xmlSecEvent,
InputProcessorChain inputProcessorChain) |
XMLSecEvent |
LogInputProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLSecurityInputProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLSecurityInputProcessor.InternalBufferProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLSecurityInputProcessor.InternalReplayProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractDecryptInputProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
XMLEventReaderInputProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractSignatureReferenceVerifyInputProcessor.processHeaderEvent(InputProcessorChain inputProcessorChain) |
XMLSecEvent |
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier.processHeaderEvent(InputProcessorChain inputProcessorChain) |
protected Deque<XMLSecEvent> |
AbstractSignatureInputHandler.reparseSignedInfo(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
Deque<XMLSecEvent> eventDeque,
int index) |
protected InboundSecurityToken |
XMLSignatureInputHandler.XMLSignatureVerifier.retrieveSecurityToken(org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
XMLSecurityProperties securityProperties,
InboundSecurityContext inboundSecurityContext) |
protected abstract InboundSecurityToken |
AbstractSignatureInputHandler.SignatureVerifier.retrieveSecurityToken(org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
XMLSecurityProperties securityProperties,
InboundSecurityContext inboundSecurityContext) |
protected void |
AbstractSignatureReferenceVerifyInputProcessor.verifyExternalReference(InputProcessorChain inputProcessorChain,
InputStream inputStream,
org.apache.xml.security.binding.xmldsig.ReferenceType referenceType) |
protected InboundSecurityToken |
AbstractSignatureInputHandler.verifySignedInfo(InputProcessorChain inputProcessorChain,
XMLSecurityProperties securityProperties,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
Deque<XMLSecEvent> eventDeque,
int index) |
Constructor and Description |
---|
AbstractDecryptInputProcessor(org.apache.xml.security.binding.xmldsig.KeyInfoType keyInfoType,
org.apache.xml.security.binding.xmlenc.ReferenceList referenceList,
XMLSecurityProperties securityProperties) |
AbstractDecryptInputProcessor(XMLSecurityProperties securityProperties) |
AbstractSignatureReferenceVerifyInputProcessor(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
InboundSecurityToken inboundSecurityToken,
XMLSecurityProperties securityProperties) |
InternalSignatureReferenceVerifier(XMLSecurityProperties securityProperties,
InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
XMLSecStartElement startElement) |
SignatureVerifier(org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
InboundSecurityContext inboundSecurityContext,
XMLSecurityProperties securityProperties) |
XMLDecryptInputProcessor(XMLSecurityProperties securityProperties) |
XMLSignatureReferenceVerifyInputProcessor(InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
InboundSecurityToken inboundSecurityToken,
XMLSecurityProperties securityProperties) |
XMLSignatureVerifier(org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
InboundSecurityContext inboundSecurityContext,
XMLSecurityProperties securityProperties) |
Modifier and Type | Method and Description |
---|---|
protected OutputStream |
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor.applyTransforms(OutputStream outputStream) |
protected Transformer |
AbstractSignatureOutputProcessor.buildTransformerChain(OutputStream outputStream,
SignaturePartDef signaturePartDef,
XMLSecStartElement xmlSecStartElement) |
protected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor |
XMLEncryptOutputProcessor.createInternalEncryptionOutputProcessor(EncryptionPartDef encryptionPartDef,
XMLSecStartElement startElement,
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 void |
XMLSignatureEndingOutputProcessor.createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain,
OutboundSecurityToken securityToken,
boolean useSingleCertificate) |
protected abstract void |
AbstractSignatureEndingOutputProcessor.createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain,
OutboundSecurityToken securityToken,
boolean useSingleCertificate) |
protected DigestOutputStream |
AbstractSignatureOutputProcessor.createMessageDigestOutputStream(String digestAlgorithm) |
protected void |
XMLSignatureEndingOutputProcessor.createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain,
SignaturePartDef signaturePartDef) |
protected abstract void |
AbstractSignatureEndingOutputProcessor.createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain,
SignaturePartDef signaturePartDef) |
protected void |
AbstractSignatureOutputProcessor.digestExternalReference(OutputProcessorChain outputProcessorChain,
SecurePart securePart) |
void |
AbstractSignatureOutputProcessor.doFinal(OutputProcessorChain outputProcessorChain) |
void |
FinalOutputProcessor.doFinal(OutputProcessorChain outputProcessorChain) |
void |
AbstractEncryptOutputProcessor.doFinal(OutputProcessorChain outputProcessorChain) |
protected void |
AbstractSignatureOutputProcessor.doFinalInternal(OutputProcessorChain outputProcessorChain) |
protected void |
AbstractEncryptOutputProcessor.doFinalInternal(OutputProcessorChain outputProcessorChain) |
protected void |
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor.doFinalInternal(OutputProcessorChain outputProcessorChain) |
protected void |
XMLSignatureEndingOutputProcessor.flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain,
Deque<XMLSecEvent> xmlSecEventDeque) |
byte[] |
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor.getSignatureValue() |
void |
AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor.init(OutputProcessorChain outputProcessorChain) |
void |
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor.init(OutputProcessorChain outputProcessorChain) |
void |
XMLSignatureOutputProcessor.init(OutputProcessorChain outputProcessorChain) |
void |
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor.init(OutputProcessorChain outputProcessorChain) |
protected AbstractSignatureEndingOutputProcessor.SignedInfoProcessor |
XMLSignatureEndingOutputProcessor.newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm,
String signatureId,
XMLSecStartElement xmlSecStartElement,
OutputProcessorChain outputProcessorChain) |
protected abstract AbstractSignatureEndingOutputProcessor.SignedInfoProcessor |
AbstractSignatureEndingOutputProcessor.newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm,
String signatureId,
XMLSecStartElement xmlSecStartElement,
OutputProcessorChain outputProcessorChain) |
abstract void |
AbstractSignatureOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
void |
AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
void |
FinalOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
abstract void |
AbstractEncryptOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
void |
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
void |
XMLSignatureOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
void |
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
void |
XMLEncryptOutputProcessor.processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain) |
protected void |
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor.processEventInternal(XMLSecStartElement xmlSecStartElement,
OutputProcessorChain outputProcessorChain)
Creates the Data structure around the cipher data
|
void |
XMLSignatureEndingOutputProcessor.processHeaderEvent(OutputProcessorChain outputProcessorChain) |
void |
AbstractSignatureEndingOutputProcessor.processHeaderEvent(OutputProcessorChain outputProcessorChain) |
protected void |
AbstractEncryptOutputProcessor.verifyEncryptionParts(OutputProcessorChain outputProcessorChain) |
protected void |
AbstractSignatureOutputProcessor.verifySignatureParts(OutputProcessorChain outputProcessorChain) |
Constructor and Description |
---|
AbstractEncryptEndingOutputProcessor() |
AbstractEncryptOutputProcessor() |
AbstractInternalEncryptionOutputProcessor(EncryptionPartDef encryptionPartDef,
XMLSecStartElement xmlSecStartElement,
String encoding) |
AbstractSignatureEndingOutputProcessor(AbstractSignatureOutputProcessor signatureOutputProcessor) |
AbstractSignatureOutputProcessor() |
FinalOutputProcessor(OutputStream outputStream,
String encoding) |
FinalOutputProcessor(XMLStreamWriter xmlStreamWriter) |
InternalSignatureOutputProcessor(SignaturePartDef signaturePartDef,
XMLSecStartElement xmlSecStartElement) |
SignedInfoProcessor(SignatureAlgorithm signatureAlgorithm,
String signatureId,
XMLSecStartElement xmlSecStartElement) |
XMLEncryptOutputProcessor() |
XMLSignatureEndingOutputProcessor(XMLSignatureOutputProcessor signatureOutputProcessor) |
XMLSignatureOutputProcessor() |
Modifier and Type | Method and Description |
---|---|
InputStream |
ResolverHttp.getInputStreamFromExternalReference() |
InputStream |
ResolverXPointer.getInputStreamFromExternalReference() |
InputStream |
ResolverFilesystem.getInputStreamFromExternalReference() |
InputStream |
ResolverSameDocument.getInputStreamFromExternalReference() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSecurityToken.addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage) |
void |
AbstractInboundSecurityToken.addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage) |
protected Key |
AbstractInboundSecurityToken.getKey(String algorithmURI,
XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
InboundSecurityToken |
AbstractInboundSecurityToken.getKeyWrappingToken() |
OutboundSecurityToken |
GenericOutboundSecurityToken.getKeyWrappingToken() |
protected PublicKey |
AbstractInboundSecurityToken.getPubKey(String algorithmURI,
XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
PublicKey |
AbstractSecurityToken.getPublicKey() |
PublicKey |
RsaKeyValueSecurityToken.getPublicKey() |
PublicKey |
ECKeyValueSecurityToken.getPublicKey() |
PublicKey |
DsaKeyValueSecurityToken.getPublicKey() |
PublicKey |
AbstractInboundSecurityToken.getPublicKey(String algorithmURI,
XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
Map<String,Key> |
AbstractSecurityToken.getSecretKey() |
Key |
GenericOutboundSecurityToken.getSecretKey(String algorithmURI) |
Key |
AbstractInboundSecurityToken.getSecretKey(String algorithmURI,
XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
InboundSecurityToken |
SecurityTokenFactoryImpl.getSecurityToken(org.apache.xml.security.binding.xmldsig.KeyInfoType keyInfoType,
SecurityTokenConstants.KeyUsage keyUsage,
XMLSecurityProperties securityProperties,
InboundSecurityContext inboundSecurityContext) |
List<OutboundSecurityToken> |
GenericOutboundSecurityToken.getWrappedTokens() |
X509Certificate[] |
AbstractSecurityToken.getX509Certificates() |
boolean |
AbstractSecurityToken.isAsymmetric() |
boolean |
X509SecurityToken.isAsymmetric() |
void |
AbstractInboundSecurityToken.verify() |
Constructor and Description |
---|
ECKeyValueSecurityToken(org.apache.xml.security.binding.xmldsig11.ECKeyValueType ecKeyValueType,
InboundSecurityContext inboundSecurityContext) |
Modifier and Type | Method and Description |
---|---|
void |
TransformIdentity.setOutputStream(OutputStream outputStream) |
void |
TransformBase64Decode.setOutputStream(OutputStream outputStream) |
void |
TransformIdentity.setProperties(Map<String,Object> properties) |
void |
TransformIdentity.setTransformer(Transformer transformer) |
Modifier and Type | Method and Description |
---|---|
void |
CanonicalizerBase.setProperties(Map<String,Object> properties) |
void |
Canonicalizer20010315_Excl.setProperties(Map<String,Object> properties) |
void |
CanonicalizerBase.setTransformer(Transformer transformer) |
Modifier and Type | Method and Description |
---|---|
byte[] |
SignerOutputStream.sign() |
boolean |
SignerOutputStream.verify(byte[] signatureValue) |
Modifier and Type | Method and Description |
---|---|
void |
SecurityEventListener.registerSecurityEvent(SecurityEvent securityEvent)
Registers a SecurityEvent which will be forwarded to the registered SecurityEventListener
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityToken.addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage) |
static SecurityTokenFactory |
SecurityTokenFactory.getInstance() |
SecurityToken |
SecurityToken.getKeyWrappingToken()
Returns the key wrapping token
|
PublicKey |
SecurityToken.getPublicKey()
Returns the public key if one exists and already initialized, null otherwise
|
PublicKey |
InboundSecurityToken.getPublicKey(String algorithmURI,
XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID)
Returns the public key if one exist for this token type
|
Map<String,Key> |
SecurityToken.getSecretKey()
Returns the secret key's if already initialized, null otherwise
|
Key |
OutboundSecurityToken.getSecretKey(String algorithmURI)
Returns the secret key
|
Key |
InboundSecurityToken.getSecretKey(String algorithmURI,
XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID)
Returns the secret key
|
T |
SecurityTokenProvider.getSecurityToken()
Returns the represented SecurityToken of this object
|
abstract InboundSecurityToken |
SecurityTokenFactory.getSecurityToken(org.apache.xml.security.binding.xmldsig.KeyInfoType keyInfoType,
SecurityTokenConstants.KeyUsage keyUsage,
XMLSecurityProperties securityProperties,
InboundSecurityContext inboundSecurityContext) |
List<? extends SecurityToken> |
SecurityToken.getWrappedTokens() |
X509Certificate[] |
SecurityToken.getX509Certificates()
Returns the certificate chain if one exists for this token type
|
boolean |
SecurityToken.isAsymmetric()
Returns the token type
|
void |
InboundSecurityToken.verify()
Verifies the key if applicable
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidTransformException |
class |
TransformationException |
Constructor and Description |
---|
Transform(Element element,
String baseURI) |
Transforms(Element element,
String baseURI)
|
Modifier and Type | Method and Description |
---|---|
static XPath2FilterContainer |
XPath2FilterContainer.newInstance(Element element,
String baseURI)
Creates a XPath2FilterContainer from an existing Element; needed for verification.
|
Constructor and Description |
---|
InclusiveNamespaces(Element element,
String baseURI)
Constructor InclusiveNamespaces
|
Modifier and Type | Method and Description |
---|---|
byte[] |
ElementProxy.getBytesFromTextChild()
Method getBytesFromTextChild
|
static void |
ElementProxy.registerDefaultPrefixes()
This method registers the default prefixes.
|
static void |
ElementProxy.setDefaultPrefix(String namespace,
String prefix)
Method setDefaultPrefix
|
void |
ElementProxy.setElement(Element element,
String baseURI)
Method setElement
|
void |
ElementProxy.setXPathNamespaceContext(String prefix,
String uri)
Adds an xmlns: definition to the Element.
|
Constructor and Description |
---|
ElementProxy(Element element,
String baseURI)
Constructor ElementProxy
|
Signature11ElementProxy(Element element,
String baseURI)
Constructor Signature11ElementProxy
|
SignatureElementProxy(Element element,
String baseURI)
Constructor SignatureElementProxy
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceResolverException
This Exception is thrown if something related to the
ResourceResolver goes wrong. |
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.