EnglishFrenchSpanish

OnWorks favicon

samlsign - Online in the Cloud

Run samlsign in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command samlsign that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


samlsign - sign and verify XML documents

SYNOPSIS


samlsign <options>

DESCRIPTION


samlsign signs or verifies signed XML documents. To sign a document, use -s. To verify a
document, omit -s. One of the -c, -R, or -T options are required when verifying. Either
-k or -R is required when signing.

By default, samlsign signs or verifies standard input. Pass -u or -f to retrieve the
document from a URL or file path. Signed documents are always printed to standard output.

OPTIONS


-u URL The URL of the document to sign or verify.

-f PATH
The full path of the document to sign or verify.

-id ID Rather than acting on the entire document, only act on the object with the
specified ID. Only that object (with its new signature) will be printed to
standard output.

-s Sign, rather than the default action of verify.

-k KEY Specifies the full path to the key to use for signing.

-c CERT
Specifies the full path to the certificate to use for verification.

-R RESOLVER
Specifies a credential resolver to use for either signing or verification.

-T TRUST
Specifies the trust engine for TrustEngine-based verification.

-M METADATA
Specifies the metadata for TrustEngine-based verification.

-i ISSUER
Specifies the issuer for verification.

-p PROT
Specifies the protocol for TrustEngine-based verification. This option allows
specification of an arbitrary protocol by name, but more commonly one would use one
of the options listed below for standard protocol names.

-r RNAME
Specifies the resource name for TrustEngine-based verification. This option allows
specification of an arbitrary resource name by name, but more commonly one would
use one of the options listed below for standard resource names.

-ns RNS
Specifies the namespace for TrustEngine-based verification. If not given, the
default is SAML20MD_NS.

-saml10
Use the SAML1.0 protocol for TrustEngine-based verification.

-saml11
use the SAML1.1 protocol for TrustEngine-based verification.

-saml2 use the SAML2.0 P NS protocol for TrustEngine-based verification.

-idp Set the resouce name to IDPSSODescriptor for TrustEngine-based verification.

-aa Set the resource name to AttributeAuthorityDescriptor for TrustEngine-based
verification.

-pdp Set the resource name to PDPDescriptor for TrustEngine-based verification.

-sp Set the resource name to SPSSODescriptor for TrustEngine-based verification.

-V Validate the document while signing or verifying it. The path to the schemas used
for validation can be overridden by setting the OPENSAML_SCHEMAS environment
variable.

-alg algorithm
Specifies the signature algorithm to use, overriding the default. Only used when
signing. -dig algorithm Specifies the digest algorithm to use, overriding the
default. Only used when signing.

EXIT STATUS


0 Success.

-1 An error in how samlsign was called (incorrect arguments, for example).

-2 An error occurred when initializing the configuration.

-10 An exception was caught.

EXAMPLES


To sign SAML 2.0 metadata, use:

samlsign -k /path/to/key -c /path/to/cert -f /path/to/metadata

Use samlsign online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad