| Modifier and Type | Method and Description |
|---|---|
protected static void |
XMLSecTool.addSignatureELement(CommandLineArguments cli,
Element root,
Element signature)
Adds the signature element at the appropriate place in the document.
|
protected static String |
XMLSecTool.determineSignatureAlgorithm(CommandLineArguments cli,
org.opensaml.security.x509.X509Credential signingCredential)
Determine the signature algorithm to use.
|
protected static org.opensaml.security.x509.X509Credential |
XMLSecTool.getCredential(CommandLineArguments cli)
Gets the credentials used for signing and signature verification.
|
protected static Collection<X509CRL> |
XMLSecTool.getCRLs(CommandLineArguments cli)
Gets the CRLs referenced on the command line, if any.
|
protected static String |
XMLSecTool.getSignatureReferenceUri(CommandLineArguments cli,
Element rootElement)
Gets the reference of the URI to use for the signature.
|
protected static InputStream |
XMLSecTool.getXmlInputStreamFromFile(CommandLineArguments cli)
Creates an input stream that reads the input XML from a file.
|
protected static InputStream |
XMLSecTool.getXmlInputStreamFromUrl(CommandLineArguments cli)
Creates an input stream that reads the input XML from an HTTP URL.
|
protected static void |
XMLSecTool.initLogging(CommandLineArguments cli)
Initialize the logging subsystem.
|
protected static Document |
XMLSecTool.parseXML(CommandLineArguments cli)
Parses the input XML from its source and converts it to a DOM document.
|
protected static void |
XMLSecTool.schemaValidate(CommandLineArguments cli,
Document xml)
Validates the document against the schema source indicated by the CLI arguments.
|
protected static void |
XMLSecTool.sign(CommandLineArguments cli,
org.opensaml.security.x509.X509Credential signingCredential,
Document xml)
Signs a document.
|
protected static void |
XMLSecTool.verifySignature(CommandLineArguments cli,
org.opensaml.security.x509.X509Credential credential,
Document xmlDocument)
Verifies that the signature on a document is valid.
|
protected static void |
XMLSecTool.writeDocument(CommandLineArguments cli,
Node xml)
Writes a DOM element to the output file.
|
Copyright © 2011–2016. All rights reserved.