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(Element element,
String BaseURI)
Constructor Algorithm
|
SignatureAlgorithm(Document doc,
String algorithmURI)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(Document doc,
String algorithmURI,
int hmacOutputLength)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(Element element,
String baseURI)
Constructor SignatureAlgorithm
|
SignatureAlgorithm(Element element,
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(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
|
static void |
KeyUtils.prinoutKeyInfo(KeyInfo ki,
PrintStream os)
Method prinoutKeyInfo
|
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 |
DEREncodedKeyValue.getPublicKey()
Method getPublicKey
|
PublicKey |
KeyValue.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() |
PublicKey |
RSAKeyValue.getPublicKey() |
PublicKey |
KeyValueContent.getPublicKey()
Method getPublicKey
|
Constructor and Description |
---|
DSAKeyValue(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 |
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(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(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,
String signatureMethodURI,
int hMACOutputLength,
String canonicalizationMethodURI)
Constructor SignedInfo
|
SignedInfo(Document doc,
String signatureMethodURI,
String canonicalizationMethodURI)
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 |
XMLSignature(Document doc,
String baseURI,
Element SignatureMethodElem,
Element CanonicalizationMethodElem)
Creates a XMLSignature in a Document
|
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,
String canonicalizationMethodURI)
Constructor XMLSignature
|
XMLSignature(Document doc,
String baseURI,
String signatureMethodURI,
String canonicalizationMethodURI)
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.
|
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 XPathFilterCHGPContainer |
XPathFilterCHGPContainer.getInstance(Element element,
String BaseURI)
Creates a XPathFilterCHGPContainer from an existing Element; needed for verification.
|
static XPath2FilterContainer |
XPath2FilterContainer.newInstance(Element element,
String BaseURI)
Creates a XPath2FilterContainer from an existing Element; needed for verification.
|
static XPath2FilterContainer04 |
XPath2FilterContainer04.newInstance(Element element,
String BaseURI)
Creates a XPath2FilterContainer04 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.getBytesFromChildElement(String localname,
String namespace)
Deprecated.
|
byte[] |
ElementProxy.getBytesFromTextChild()
Method getBytesFromTextChild
|
void |
ElementCheckerImpl.InternedNsChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
Element actual) |
void |
ElementCheckerImpl.FullChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
Element actual) |
void |
ElementCheckerImpl.EmptyChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
Element actual) |
void |
ElementChecker.guaranteeThatElementInCorrectSpace(ElementProxy expected,
Element actual)
Deprecated.
Check that the element is the one expect
|
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
|
EncryptionElementProxy(Element element,
String BaseURI)
Constructor EncryptionElementProxy
|
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–2017 The Apache Software Foundation. All rights reserved.