A B C D E F G H I K L M N O P Q R S T V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBouncyCastleProvider() - Static method in class net.shibboleth.tool.xmlsectool.InitializationSupport
-
Add an instance of the Bouncy Castle provider to the end of the provider list.
- addSignatureELement(CommandLineArguments, Element, Element) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Adds the signature element at the appropriate place in the document.
- ALLOW_ALL_DIGESTS_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- ALLOW_DIGEST_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- allowAllDigests - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Option requesting that all digest algorithms should be allowed.
- allowAllDigests() - Method in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Empties the disallowed digest and signature algorithm lists.
- allowDigest(DigestChoice) - Method in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Remove the digest and signature algorithms associated with a
DigestChoice. - allowDigestNames - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Option requesting that algorithms associated with a specific digest be allowed.
B
- BASE64_IN_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- BASE64_OUT_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- base64DecodeInput - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- base64EncodeOutput - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- BLACKLIST_DIGEST_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- blacklistDigestNames - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
C
- cert - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- CERT_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- checkForDeprecations() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Checks for any deprecations in the command-line options.
- CLEAR_BLACKLIST_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- clearBlacklist - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- code - Variable in enum net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code value.
- CommandLineArguments - Class in net.shibboleth.tool.xmlsectool
-
Command line arguments for the
XMLSecToolcommand line tool. - CommandLineArguments() - Constructor for class net.shibboleth.tool.xmlsectool.CommandLineArguments
- CredentialHelper - Class in net.shibboleth.tool.xmlsectool
-
Helper class for reading in cryptographic credentials.
- CredentialHelper() - Constructor for class net.shibboleth.tool.xmlsectool.CredentialHelper
-
Constructor.
D
- DEFLATE_OUT_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- deflateOutput - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- determineSignatureAlgorithm(CommandLineArguments, X509Credential) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Determine the signature algorithm to use.
- digest - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Digest algorithm choice for all algorithms.
- DIGEST_ALGORITHM_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- DIGEST_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- digestAlgorithm - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Digest algorithm URI directly specified on the command line.
- digestAlgorithm - Variable in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Digest algorithm.
- digestAlgorithms - Variable in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Ordered set of disallowed digest algorithm URIs.
- DigestChoice - Enum in net.shibboleth.tool.xmlsectool
-
The digest method to use in the various signature algorithms.
- DigestChoice(String, String, String, String) - Constructor for enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Constructor.
- digestName - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Selected digest algorithm choice name for all algorithms.
- DISALLOW_DIGEST_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- disallowDigest(DigestChoice) - Method in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Add the digest and signature algorithms associated with a
DigestChoice. - disallowDigestNames - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Option requesting that algorithms associated with a specific digest be disallowed.
- disallowedAlgorithms - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Local collection of disallowed signature and digest algorithms.
- DisallowedAlgorithms - Class in net.shibboleth.tool.xmlsectool
-
A collection of insecure or otherwise undesirable digest algorithms and signature algorithms, to be used to prevent their use in the validation of digital signatures.
- DisallowedAlgorithms() - Constructor for class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Constructor.
- doHelp() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- doListAlgorithms() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Indicates whether the option to list the disallowed algorithms has been selected.
- doQuietOutput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- doSchemaValidation() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- doSign() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- doSignatureVerify() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- doVerboseOutput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- dumpSecurityProviders(String) - Static method in class net.shibboleth.tool.xmlsectool.CredentialHelper
-
Dump the list of available security providers for diagnostic purposes.
E
- ecdsaAlgorithm - Variable in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
ECDSA signature algorithm.
- ENSURE_NL_ELEMENTS - Static variable in class net.shibboleth.tool.xmlsectool.SignatureHelper
-
Elements which should be forced into a NL - value - NL format.
- ensureNLsWrapNamedChildren(Element, String) - Static method in class net.shibboleth.tool.xmlsectool.SignatureHelper
-
Ensure a named child element is in a NL - value - NL format.
- errorAndExit(String) - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Prints the error message to STDERR and then exits.
- exitCode - Variable in exception net.shibboleth.tool.xmlsectool.Terminator
-
Exit code to be delivered to the calling shell.
- extractReference(XMLSignature) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Extract the reference within the provided XML signature while ensuring that there is only one such reference.
F
- find(String) - Static method in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Finds the
DigestChoicefor a given digest name.
G
- getCertificate() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getCode() - Method in enum net.shibboleth.tool.xmlsectool.ReturnCode
-
Gets the return code value.
- getCredential(CommandLineArguments) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Gets the credentials used for signing and signature verification.
- getCredentialFromKeystore(KeyStore, String, String) - Static method in class net.shibboleth.tool.xmlsectool.CredentialHelper
-
Gets a credential from the given store.
- getCRLs(CommandLineArguments) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Gets the CRLs referenced on the command line, if any.
- getDigest() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Returns the choice of digest algorithm.
- getDigestAlgorithm() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Returns the digest algorithm URI if specified on the command line.
- getDigestAlgorithm() - Method in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Returns the digest algorithm URI for this digest choice.
- getDisallowedAlgorithms() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Returns the {link @DisallowedAlgorithms}.
- getECDSAAlgorithm() - Method in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Returns the ECDSA signature algorithm URI for this digest choice.
- getExitCode() - Method in exception net.shibboleth.tool.xmlsectool.Terminator
-
Get the exit code to be delivered to the calling shell.
- getFileBasedCredentials(String, String, String) - Static method in class net.shibboleth.tool.xmlsectool.CredentialHelper
-
Reads in the X509 credentials from the filesystem.
- getHttpProxy() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getHttpProxyPassword() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getHttpProxyPort() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getHttpProxyUsername() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getInputFile() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getInputUrl() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeyAlias() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeyFile() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeyInfoCrls() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeyInfoKeyNames() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeyPassword() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeystore() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeystoreCredential(String, String, String, String, String, String) - Static method in class net.shibboleth.tool.xmlsectool.CredentialHelper
-
Reads in the X509 credentials from a keystore.
- getKeystorePassword() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeystoreProvider() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getKeystoreType() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getLoggingConfiguration() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getOutputFile() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getParser() - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Constructs a DOM parser used to parse the input XML.
- getPkcs11Config() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getPKCS11Credential(String, String, String) - Static method in class net.shibboleth.tool.xmlsectool.CredentialHelper
-
Reads in an X.509 credential from a PKCS11 source.
- getReferenceIdAttributeName() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getRSAAlgorithm() - Method in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Returns the RSA signature algorithm URI for this digest choice.
- getSchemaDirectory() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getSchemaFiles(SchemaBuilder.SchemaLanguage, File[], List<File>) - Method in class net.shibboleth.tool.xmlsectool.SchemaValidator
-
Gets all of the schema files in the given set of readable files, directories or subdirectories.
- getSignatureAlgorithm() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Returns the signature algorithm URI if specified on the command line.
- getSignatureElement(Document) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Gets the signature element from the document.
- getSignaturePosition() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- getSignatureReferenceUri(CommandLineArguments, Element) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Gets the reference of the URI to use for the signature.
- getXmlInputStreamFromFile(CommandLineArguments) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Creates an input stream that reads the input XML from a file.
- getXmlInputStreamFromUrl(CommandLineArguments) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Creates an input stream that reads the input XML from an HTTP URL.
- GUNZIP_IN_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- gunzipInput - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- GZIP_OUT_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- gzipOutput - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
H
- hasName(String) - Method in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Indicates whether the enum can be called by the provided name.
- haveECCProvider() - Static method in class net.shibboleth.tool.xmlsectool.InitializationSupport
-
Do we have an ECC provider available?
- help - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- HELP_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- HTTP_PROXY_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- HTTP_PROXY_PASSWORD_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- HTTP_PROXY_PORT_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- HTTP_PROXY_USERNAME_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- httpProxy - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- httpProxyPassword - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- httpProxyPort - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- httpProxyUsername - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
I
- IN_FILE_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- IN_URL_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- inFile - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- INFLATE_IN_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- inflateInput - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- InitializationSupport - Class in net.shibboleth.tool.xmlsectool
-
Support class to assist in initializing the environment in which the command-line application runs.
- InitializationSupport() - Constructor for class net.shibboleth.tool.xmlsectool.InitializationSupport
-
Constructor.
- initialize() - Static method in class net.shibboleth.tool.xmlsectool.InitializationSupport
-
Initialize the environment.
- initialized - Static variable in class net.shibboleth.tool.xmlsectool.InitializationSupport
-
Remember whether we have already been initialized.
- initLogging(CommandLineArguments) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Initialize the logging subsystem.
- inUrl - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isBase64DecodeInput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isBase64EncodedOutput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isDeflateOutput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isDigestAlgorithmDisallowed(String) - Method in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Returns
trueif the indicated algorithm URI is disallowed for use as a digest algorithm. - isGunzipInput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isGzipOutput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isInflateInput() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isRngSchema() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- isSignatureAlgorithmDisallowed(String) - Method in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Returns
trueif the indicated algorithm URI is disallowed for use as a signature algorithm. - isXsdSchema() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
K
- key - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- KEY_ALIAS_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KEY_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- KEY_FILE_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KEY_PASSWORD_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- keyAlias - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- keyFile - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- keyPassword - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- keystore - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KEYSTORE_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KEYSTORE_PASSWORD_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KEYSTORE_PROVIDER_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KEYSTORE_TYPE_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- keystorePassword - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- keystoreProvider - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- keystoreType - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KI_CRL_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- KI_KEY_NAME_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- kiCrls - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- kiKeyNames - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
L
- list(PrintStream) - Method in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
List out the contents of the algorithm collections.
- LIST_ALGORITHMS_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- LIST_BLACKLIST_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- listAlgorithms - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Option requesting that the signature verification algorithms be listed.
- listBlacklist - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- log - Variable in class net.shibboleth.tool.xmlsectool.SchemaValidator
-
Class logger.
- log - Static variable in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Class logger.
- LOG - Static variable in class net.shibboleth.tool.xmlsectool.CredentialHelper
-
Class logger.
- LOG_CONFIG_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- logConfig - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
M
- main(String[]) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Main command-line entry point.
- markIdAttribute(Element, Reference) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Reconcile the given reference with the document element, by making sure that the appropriate attribute is marked as an ID attribute.
N
- net.shibboleth.tool.xmlsectool - package net.shibboleth.tool.xmlsectool
-
A command line tool for checking an XML file for well-formedness and validity as well as signing and checking signatures.
O
- OPT - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Prefix for all command-line option names.
- otherName - Variable in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Other name (with hyphens, etc.) used as an alternative to the enum name.
- OUT_FILE_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- outFile - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
P
- parseCommandLineArguments(String[]) - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Parse the command-line arguments.
- parseXML(CommandLineArguments) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Parses the input XML from its source and converts it to a DOM document.
- PKCS11_CONFIG_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- pkcs11Config - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- populateKeyInfo(Document, KeyInfo, X509Credential) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Populates an XML signature's KeyInfo with X.509 credential information.
- postProcessSignature(Element) - Static method in class net.shibboleth.tool.xmlsectool.SignatureHelper
-
Post-process a generated signature.
- printHelp(PrintStream) - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Print command line help instructions.
- processDisallowedAlgorithmOptions() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Handle options related to setting up the disallowed algorithm collection.
Q
- quiet - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- QUIET_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
R
- RC_INIT - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating an initialization error, 1.
- RC_INVALID_CRED - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating an error reading the credentials, 6.
- RC_INVALID_XML - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating input XML was not valid, 4.
- RC_INVALID_XS - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating an error validating the XML, 5.
- RC_IO - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating an error reading files, 2.
- RC_MALFORMED_XML - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating the input XML was not well formed, 3.
- RC_NOHOME - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating that the JAVA_HOME variable is not set within the shell script, 8.
- RC_NOJAVA - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating that the "java" command is not executable within the shell script, 9.
- RC_OK - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating command completed successfully, 0.
- RC_SIG - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating indicating that signing or signature verification failed, 7.
- RC_UNKNOWN - net.shibboleth.tool.xmlsectool.ReturnCode
-
Return code indicating an unknown error occurred, -1.
- refIdAttributeName - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- removeCRsFromNamedChildren(Element, String) - Static method in class net.shibboleth.tool.xmlsectool.SignatureHelper
-
Remove any CRs from the text content of named child elements.
- ReturnCode - Enum in net.shibboleth.tool.xmlsectool
-
Return codes for the command-line application.
- ReturnCode(int) - Constructor for enum net.shibboleth.tool.xmlsectool.ReturnCode
-
Constructor.
- rngSchema - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- rsaAlgorithm - Variable in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
RSA signature algorithm.
S
- schema - Variable in class net.shibboleth.tool.xmlsectool.SchemaValidator
-
Compiled schema object.
- SCHEMA_DIR_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- SCHEMA_RNG_LANG_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- SCHEMA_XSD_LANG_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- schemaDirectory - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- schemaFileExtension(SchemaBuilder.SchemaLanguage) - Method in class net.shibboleth.tool.xmlsectool.SchemaValidator
-
Provides the file name extension associated with a schema language.
- schemaValidate - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- schemaValidate(CommandLineArguments, Document) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Validates the document against the schema source indicated by the CLI arguments.
- SchemaValidator - Class in net.shibboleth.tool.xmlsectool
-
Validates XML documents based on a schema file, or a collection of schema files contained in a directory.
- SchemaValidator(SchemaBuilder.SchemaLanguage, File) - Constructor for class net.shibboleth.tool.xmlsectool.SchemaValidator
-
Constructor.
- serialVersionUID - Static variable in exception net.shibboleth.tool.xmlsectool.Terminator
-
Serial version UID.
- SHA1 - net.shibboleth.tool.xmlsectool.DigestChoice
-
SHA-1 digest.
- SHA256 - net.shibboleth.tool.xmlsectool.DigestChoice
-
SHA-256 digest.
- SHA384 - net.shibboleth.tool.xmlsectool.DigestChoice
-
SHA-384 digest.
- SHA512 - net.shibboleth.tool.xmlsectool.DigestChoice
-
SHA-512 digest.
- SIG_POS_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- SIG_REF_ID_ATT_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- sign - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- sign(CommandLineArguments, X509Credential, Document) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Signs a document.
- SIGN_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- SIGNATURE_ALGORITHM_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- signatureAlgorithm - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Signature algorithm URI directly specified on the command line.
- signatureAlgorithms - Variable in class net.shibboleth.tool.xmlsectool.DisallowedAlgorithms
-
Ordered set of disallowed signature algorithm URIs.
- SignatureHelper - Class in net.shibboleth.tool.xmlsectool
-
Classes to assist with signature operations.
- SignatureHelper() - Constructor for class net.shibboleth.tool.xmlsectool.SignatureHelper
-
Constructor.
- signaturePosition - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- signatureVerify - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- STRIP_CR_ELEMENTS - Static variable in class net.shibboleth.tool.xmlsectool.SignatureHelper
-
Elements which should be examined for CRs, and stripped of them.
T
- Terminator - Exception in net.shibboleth.tool.xmlsectool
-
An unchecked exception that will result in the termination of the command-line application.
- Terminator(ReturnCode) - Constructor for exception net.shibboleth.tool.xmlsectool.Terminator
-
Constructor.
V
- V_SCHEMA_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- V_SIG_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- validate(Source) - Method in class net.shibboleth.tool.xmlsectool.SchemaValidator
-
Validate a document against the compiled schema.
- validateCommandLineArguments() - Method in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- validateSignatureReference(Document, Reference) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Validates the reference within the XML signature by performing the following checks.
- validateSignatureReferenceUri(Document, Reference) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Validates that the element resolved by the signature validation layer is the same as the element resolved by the DOM layer.
- validateSignatureTransforms(Reference) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Validate the transforms included in the Signature Reference.
- valueOf(String) - Static method in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.shibboleth.tool.xmlsectool.ReturnCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.shibboleth.tool.xmlsectool.DigestChoice
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.shibboleth.tool.xmlsectool.ReturnCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verbose - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- VERBOSE_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
- verifySignature(CommandLineArguments, X509Credential, Document) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Verifies that the signature on a document is valid.
W
- WHITELIST_DIGEST_ARG - Static variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- whitelistDigestNames - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
-
Deprecated, for removal: This API element is subject to removal in a future version.
- writeDocument(CommandLineArguments, Node) - Static method in class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Writes a DOM element to the output file.
X
- XMLSecTool - Class in net.shibboleth.tool.xmlsectool
-
A command line tool for checking an XML file for well-formedness and validity as well as signing and checking signatures.
- XMLSecTool() - Constructor for class net.shibboleth.tool.xmlsectool.XMLSecTool
-
Constructor.
- xsdSchema - Variable in class net.shibboleth.tool.xmlsectool.CommandLineArguments
All Classes All Packages