opensaml-2.4.3
|
SAML-specific signature reference profile. More...
#include <saml/signature/ContentReference.h>
Public Member Functions | |
ContentReference (const SignableObject &signableObject) | |
Constructor. | |
virtual void | createReferences (DSIGSignature *sig) |
Given a "blank" native signature, creates signature reference appropriate for the SAML object being signed. | |
void | addInclusivePrefix (const XMLCh *prefix) |
Adds a namespace prefix for "inclusive" processing by an Exclusive C14N Transform applied to the object. | |
void | setDigestAlgorithm (const XMLCh *digest) |
Sets the digest algorithm for the signature reference, using a constant. | |
void | setCanonicalizationMethod (const XMLCh *c14n) |
Sets the canonicalization method to include in the reference, using a constant. |
SAML-specific signature reference profile.
opensaml::ContentReference::ContentReference | ( | const SignableObject & | signableObject | ) |
Constructor.
signableObject | reference to object being signed |
void opensaml::ContentReference::addInclusivePrefix | ( | const XMLCh * | prefix | ) |
Adds a namespace prefix for "inclusive" processing by an Exclusive C14N Transform applied to the object.
An empty string will be transformed into "#default".
prefix | the prefix to add |
virtual void opensaml::ContentReference::createReferences | ( | DSIGSignature * | sig | ) | [virtual] |
Given a "blank" native signature, creates signature reference appropriate for the SAML object being signed.
sig | native signature interface |
void opensaml::ContentReference::setCanonicalizationMethod | ( | const XMLCh * | c14n | ) |
Sets the canonicalization method to include in the reference, using a constant.
c14n | the canonicalization method |
void opensaml::ContentReference::setDigestAlgorithm | ( | const XMLCh * | digest | ) |
Sets the digest algorithm for the signature reference, using a constant.
digest | the digest algorithm |