Package | Description |
---|---|
org.apache.xml.security.algorithms |
algorithm factories.
|
org.apache.xml.security.c14n |
Canonicalization related material and algorithms.
|
org.apache.xml.security.encryption |
Provides classes for implementing XML Encryption applications.
|
org.apache.xml.security.exceptions |
general exceptions used by this library.
|
org.apache.xml.security.keys |
general key related material.
|
org.apache.xml.security.keys.content |
basic handlers for elements that can occur inside
ds:KeyInfo . |
org.apache.xml.security.keys.content.keyvalues |
basic handlers for elements that can occur inside
ds:KeyValue . |
org.apache.xml.security.keys.content.x509 |
basic handlers for elements that can occur inside
ds:X509Data . |
org.apache.xml.security.keys.keyresolver |
the resolver framework for retrieval of certificates and public keys from elements.
|
org.apache.xml.security.keys.storage |
a resolver framework for certificates and public keys from user-specified locations.
|
org.apache.xml.security.signature |
XML Signature specific classes.
|
org.apache.xml.security.transforms |
the framework for XML Signature transforms.
|
org.apache.xml.security.transforms.params | |
org.apache.xml.security.utils |
general utility classes.
|
org.apache.xml.security.utils.resolver |
the ResourceResolver classes used to resolve ds:Reference URIs.
|
Constructor and Description |
---|
Algorithm(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor Algorithm
|
SignatureAlgorithm(org.w3c.dom.Document doc,
java.lang.String algorithmURI)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(org.w3c.dom.Document doc,
java.lang.String algorithmURI,
int hmacOutputLength)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(org.w3c.dom.Element element,
java.lang.String baseURI,
boolean secureValidation)
Constructor SignatureAlgorithm
|
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 | Class and Description |
---|---|
class |
ContentHandlerAlreadyRegisteredException |
Modifier and Type | Method and Description |
---|---|
void |
KeyInfo.addDEREncodedKeyValue(java.security.PublicKey pk)
Method addDEREncodedKeyValue
|
void |
KeyInfo.addKeyInfoReference(java.lang.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
|
static void |
KeyUtils.prinoutKeyInfo(KeyInfo ki,
java.io.PrintStream os)
Method prinoutKeyInfo
|
Constructor and Description |
---|
KeyInfo(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructor KeyInfo
|
Modifier and Type | Method and Description |
---|---|
void |
X509Data.addCertificate(java.security.cert.X509Certificate x509certificate)
Method addCertificate
|
void |
X509Data.addDigest(java.security.cert.X509Certificate x509certificate,
java.lang.String algorithmURI)
Method addDigest
|
void |
X509Data.addSKI(java.security.cert.X509Certificate x509certificate)
Method addSKI
|
protected byte[] |
DEREncodedKeyValue.getEncodedDER(java.security.PublicKey publicKey)
Method getEncodedDER
|
java.security.PublicKey |
KeyValue.getPublicKey()
Method getPublicKey
|
java.security.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(org.w3c.dom.Document doc,
java.security.PublicKey publicKey)
Constructor DEREncodedKeyValue
|
DEREncodedKeyValue(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor DEREncodedKeyValue
|
KeyInfoReference(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructor RetrievalMethod
|
KeyName(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor KeyName
|
KeyValue(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor KeyValue
|
MgmtData(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor MgmtData
|
PGPData(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor PGPData
|
RetrievalMethod(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor RetrievalMethod
|
SPKIData(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor SPKIData
|
X509Data(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructor X509Data
|
Modifier and Type | Method and Description |
---|---|
java.security.PublicKey |
KeyValueContent.getPublicKey()
Method getPublicKey
|
java.security.PublicKey |
DSAKeyValue.getPublicKey() |
java.security.PublicKey |
RSAKeyValue.getPublicKey() |
Constructor and Description |
---|
DSAKeyValue(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructor DSAKeyValue
|
RSAKeyValue(org.w3c.dom.Element element,
java.lang.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(java.security.cert.X509Certificate cert,
java.lang.String algorithmURI)
Method getDigestBytesFromCert
|
java.security.PublicKey |
XMLX509Certificate.getPublicKey()
Method getPublicKey
|
byte[] |
XMLX509SKI.getSKIBytes()
Method getSKIBytes
|
static byte[] |
XMLX509SKI.getSKIBytesFromCert(java.security.cert.X509Certificate cert)
Method getSKIBytesFromCert
|
java.security.cert.X509Certificate |
XMLX509Certificate.getX509Certificate()
Method getX509Certificate
|
Constructor and Description |
---|
XMLX509Certificate(org.w3c.dom.Document doc,
java.security.cert.X509Certificate x509certificate)
Constructor XMLX509Certificate
|
XMLX509Certificate(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor X509Certificate
|
XMLX509CRL(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor XMLX509CRL
|
XMLX509Digest(org.w3c.dom.Document doc,
java.security.cert.X509Certificate x509certificate,
java.lang.String algorithmURI)
Constructor XMLX509Digest
|
XMLX509Digest(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor XMLX509Digest
|
XMLX509IssuerSerial(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructor XMLX509IssuerSerial
|
XMLX509SKI(org.w3c.dom.Document doc,
java.security.cert.X509Certificate x509certificate)
Constructor XMLX509SKI
|
XMLX509SKI(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor XMLX509SKI
|
XMLX509SubjectName(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor X509SubjectName
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidKeyResolverException |
class |
KeyResolverException |
Modifier and Type | Class and Description |
---|---|
class |
StorageResolverException |
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(java.security.cert.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
|
void |
SignedInfo.signInOctetStream(java.io.OutputStream os)
Output the C14n stream to the given OutputStream.
|
boolean |
Reference.verify()
Tests reference validation is success or false
|
boolean |
SignedInfo.verify()
Tests core validation process
|
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(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructor Manifest
|
Manifest(org.w3c.dom.Element element,
java.lang.String baseURI,
boolean secureValidation)
Constructor Manifest
|
ObjectContainer(org.w3c.dom.Element element,
java.lang.String baseURI)
Constructs
ObjectContainer from Element |
Reference(org.w3c.dom.Element element,
java.lang.String baseURI,
Manifest manifest)
Build a
Reference from an Element |
Reference(org.w3c.dom.Element element,
java.lang.String baseURI,
Manifest manifest,
boolean secureValidation)
Build a
Reference from an Element |
SignatureProperties(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructs
SignatureProperties from Element |
SignatureProperty(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructs a
SignatureProperty from an Element |
SignedInfo(org.w3c.dom.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(org.w3c.dom.Document doc,
org.w3c.dom.Element signatureMethodElem,
org.w3c.dom.Element canonicalizationMethodElem) |
SignedInfo(org.w3c.dom.Document doc,
java.lang.String signatureMethodURI,
int hMACOutputLength,
java.lang.String canonicalizationMethodURI)
Constructor SignedInfo
|
SignedInfo(org.w3c.dom.Document doc,
java.lang.String signatureMethodURI,
java.lang.String canonicalizationMethodURI)
Constructs
SignedInfo using given Canonicalization algorithm and
Signature algorithm. |
SignedInfo(org.w3c.dom.Element element,
java.lang.String baseURI)
Build a
SignedInfo from an Element |
SignedInfo(org.w3c.dom.Element element,
java.lang.String baseURI,
boolean secureValidation)
Build a
SignedInfo from an Element |
XMLSignature(org.w3c.dom.Document doc,
java.lang.String baseURI,
org.w3c.dom.Element SignatureMethodElem,
org.w3c.dom.Element CanonicalizationMethodElem)
Creates a XMLSignature in a Document
|
XMLSignature(org.w3c.dom.Document doc,
java.lang.String baseURI,
java.lang.String signatureMethodURI)
This creates a new
ds:Signature Element and adds an empty
ds:SignedInfo . |
XMLSignature(org.w3c.dom.Document doc,
java.lang.String baseURI,
java.lang.String signatureMethodURI,
int hmacOutputLength)
Constructor XMLSignature
|
XMLSignature(org.w3c.dom.Document doc,
java.lang.String baseURI,
java.lang.String signatureMethodURI,
int hmacOutputLength,
java.lang.String canonicalizationMethodURI)
Constructor XMLSignature
|
XMLSignature(org.w3c.dom.Document doc,
java.lang.String baseURI,
java.lang.String signatureMethodURI,
java.lang.String canonicalizationMethodURI)
Constructor XMLSignature
|
XMLSignature(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.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidTransformException |
class |
TransformationException |
Constructor and Description |
---|
Transform(org.w3c.dom.Element element,
java.lang.String BaseURI) |
Transforms(org.w3c.dom.Element element,
java.lang.String BaseURI)
|
Modifier and Type | Method and 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 XPath2FilterContainer04 |
XPath2FilterContainer04.newInstance(org.w3c.dom.Element element,
java.lang.String BaseURI)
Creates a XPath2FilterContainer04 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.
|
Constructor and Description |
---|
InclusiveNamespaces(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor InclusiveNamespaces
|
Modifier and Type | Method and Description |
---|---|
byte[] |
ElementProxy.getBytesFromChildElement(java.lang.String localname,
java.lang.String namespace)
Deprecated.
|
byte[] |
ElementProxy.getBytesFromTextChild()
Method getBytesFromTextChild
|
void |
ElementChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
org.w3c.dom.Element actual)
Deprecated.
Check that the element is the one expect
|
void |
ElementCheckerImpl.InternedNsChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
org.w3c.dom.Element actual) |
void |
ElementCheckerImpl.FullChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
org.w3c.dom.Element actual) |
void |
ElementCheckerImpl.EmptyChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
org.w3c.dom.Element actual) |
static void |
ElementProxy.registerDefaultPrefixes()
This method registers the default prefixes.
|
static void |
ElementProxy.setDefaultPrefix(java.lang.String namespace,
java.lang.String prefix)
Method setDefaultPrefix
|
void |
ElementProxy.setElement(org.w3c.dom.Element element,
java.lang.String BaseURI)
Method setElement
|
void |
ElementProxy.setXPathNamespaceContext(java.lang.String prefix,
java.lang.String uri)
Adds an xmlns: definition to the Element.
|
Constructor and Description |
---|
ElementProxy(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor ElementProxy
|
EncryptionElementProxy(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor EncryptionElementProxy
|
Signature11ElementProxy(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor Signature11ElementProxy
|
SignatureElementProxy(org.w3c.dom.Element element,
java.lang.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-2013 The Apache Software Foundation. All Rights Reserved.