1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
|
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.TH SAMLSIGN 1 "2011 Jul 25" UCAID "OpenSAML manual"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH NAME
samlsign \- sign and verify XML documents
.SH SYNOPSIS
.B samlsign
.RI < options >
.SH DESCRIPTION
.B samlsign
signs or verifies signed XML documents.
To sign a document, use
.BR \-s .
To verify a document, omit
.BR \-s .
One of the
.BR \-c ,
.BR \-R ,
or
.B \-T
options are required when verifying.
Either
.B \-k
or
.B \-R
is required when signing.
.PP
By default,
.B samlsign
signs or verifies standard input. Pass
.B \-u
or
.B \-f
to retrieve the document from a URL or file path.
Signed documents are always printed to standard output.
.SH OPTIONS
.TP
.BI \-u " URL"
The URL of the document to sign or verify.
.TP
.BI \-f " PATH"
The full path of the document to sign or verify.
.TP
.BI \-id " ID"
Rather than acting on the entire document, only act on the object with the
specified
.IR ID .
Only that object (with its new signature) will be printed to standard
output.
.TP
.B \-s
Sign, rather than the default action of verify.
.TP
.BI \-k " KEY"
Specifies the full path to the key to use for signing.
.TP
.BI \-c " CERT"
Specifies the full path to the certificate to use for verification.
.TP
.BI \-R " RESOLVER"
Specifies a credential resolver to use for either signing or verification.
.TP
.BI \-T " TRUST"
Specifies the trust engine for TrustEngine-based verification.
.TP
.BI \-M " METADATA"
Specifies the metadata for TrustEngine-based verification.
.TP
.BI \-i " ISSUER"
Specifies the issuer for verification.
.TP
.BI \-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.
.TP
.BI \-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.
.TP
.BI \-ns " RNS"
Specifies the namespace for TrustEngine-based verification. If not given,
the default is SAML20MD_NS.
.TP
.B \-saml10
Use the SAML1.0 protocol for TrustEngine-based verification.
.TP
.B \-saml11
use the SAML1.1 protocol for TrustEngine-based verification.
.TP
.B \-saml2
use the SAML2.0 P NS protocol for TrustEngine-based verification.
.TP
.B \-idp
Set the resource name to IDPSSODescriptor for TrustEngine-based
verification.
.TP
.B \-aa
Set the resource name to AttributeAuthorityDescriptor for
TrustEngine-based verification.
.TP
.B \-pdp
Set the resource name to PDPDescriptor for TrustEngine-based
verification.
.TP
.B \-sp
Set the resource name to SPSSODescriptor for TrustEngine-based
verification.
.TP
.B \-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.
.TP
.BI \-alg " algorithm"
Specifies the signature algorithm to use, overriding the default. Only
used when signing.
.BI \-dig " algorithm"
Specifies the digest algorithm to use, overriding the default. Only used
when signing.
.SH "EXIT STATUS"
.TP
0
Success.
.TP
\-1
An error in how
.B samlsign
was called (incorrect arguments, for example).
.TP
\-2
An error occurred when initializing the configuration.
.TP
\-10
An exception was caught.
.SH EXAMPLES
To sign SAML 2.0 metadata, use:
.PP
.Vb 1
\& samlsign \-k /path/to/key \-c /path/to/cert \-f /path/to/metadata
.Ve
.SH AUTHOR
This manpage were written by Ferenc Wágner and Russ Allbery for Debian
GNU/Linux.
.SH COPYRIGHT
Copyleft (C) 2008 Ferenc Wágner
.br
This is free software in the public domain.
|