This samlsign
is a test program developed to exercise a variety of options related to creating and verifying signatures using the OpenSAML and XMLTooling code and plugins. It isn't formally a utility designed for end users of applications that are built with the library, nor is it meant as a generic signature tool, but it's powerful enough to be used to sign and verify SAML-oriented XML content.
...
One of these parameters is required. In the latter case, you must create a small XML file containing a configuration snippet that instantiates a plugin. An example follows.
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example CredentialResolver snippet | xml |
---|
|
<CredentialResolver type="File" key="/path/to/key.pem"/>
|
...
In the latter cases, you must create a small XML file containing a configuration snippet that instantiates a plugin. Examples follow.
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example CredentialResolver snippetxml |
---|
|
<CredentialResolver type="File" certificate="/path/to/cert.pem"/>
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example TrustEngine snippetxml |
---|
|
<TrustEngine type="ExplicitKey"/>
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example MetadataProvider snippet | xml |
---|
|
<MetadataProvider type="XML" file="/path/to/metadata.xml"/>
|
...