Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Saml.​Serialization.​SamlXmlWriter
Assembly: Duende.IdentityServer
Inheritance: object → SamlXmlWriter
Implemented Interfaces
Xml writer for Saml classes
Properties
AssertionSigningCertificate
protected
System.​Collections.​Generic.​IDictionary<​string, string>
NamespacePrefixMap
Map of namespace prefixes to full namespace Uris.
Methods
Append​(System.​Xml.​XmlNode parent,
Assertion assertion)
Append an Assertion element
Returns XmlElement
parent
Parent node
assertion
Saml assertion
Append​(System.​Xml.​XmlNode parent,
AttributeStatement attributeStatement)
Append an AttributeStatement element
parent
Parent node
attributeStatement
data
protected
void
Append​(System.​Xml.​XmlNode node,
Samlp.​AuthnRequest authnRequest)
Append the authnrequest as a child node
node
parent node
authnRequest
AuthnRequest
protected
void
Append​(System.​Xml.​XmlNode parent,
AuthnStatement authnStatement)
Append an AuthnStatement element
parent
Parent node
authnStatement
authnStatement
protected
void
Append​(System.​Xml.​XmlNode parent,
Conditions conditions)
Append a Conditions element
parent
Parent node
conditions
value
AppendElement​(System.​Xml.​XmlNode node,
string namespacePrefix,
string localName)
Append an element with a specified namespace prefix, using the writer's
NamespacePrefixMap
Returns The new element
node
Parent node
namespacePrefix
Namespace prefix. The actual namespace URL is
looked up in <see cref="P:Duende.IdentityServer.Saml.Serialization.SamlXmlWriter.NamespacePrefixMap" />
localName
local name of new element
Append​(System.​Xml.​XmlNode node,
Metadata.​EntityDescriptor entityDescriptor)
Append the descriptor as a child node
node
parent node
entityDescriptor
Entity Descriptor
Append​(System.​Xml.​XmlNode node,
Metadata.​IDPSSODescriptor idpSsoDescriptor)
Append the descriptor as a child node
node
parent node
idpSsoDescriptor
IDPSSO Descriptor
protected
void
Append​(System.​Xml.​XmlNode node,
Metadata.​KeyDescriptor keyDescriptor)
Append the key descriptor as a child node
node
parent node
keyDescriptor
Key descriptor that will become child elements
protected
void
AppendKeyInfo​(System.​Xml.​XmlNode node,
System.​Security.​Cryptography.​Xml.​KeyInfo keyInfo)
Append a KeyInfo element as a child node.
protected
void
AppendX509Data​(System.​Xml.​XmlNode node,
System.​Security.​Cryptography.​Xml.​KeyInfoX509Data x509Data)
Append an X509Data element as a child node.
Append​(System.​Xml.​XmlNode node,
Samlp.​LogoutRequest logoutRequest)
Append the LogoutRequest as a child node
node
Parent node
logoutRequest
LogoutRequest
Append​(System.​Xml.​XmlNode node,
Samlp.​LogoutResponse logoutResponse)
Append the LogoutResponse as a child node
node
Parent node
logoutResponse
LogoutResponse
AppendIfValue​(System.​Xml.​XmlNode parent,
NameId? nameId,
string localName)
Appends a node if the NameId has a value
parent
Parent to append to
nameId
The NameId
localName
Local name of element
Append​(System.​Xml.​XmlNode parent,
NameId? nameId,
string localName)
Append a NameId
parent
Parent node to append child element to
nameId
value
localName
Local name of the new element
Append​(System.​Xml.​XmlNode parent,
Samlp.​RequestAbstractType request,
string localName)
Append a type derived from RequestAbstractType, with the given name.
parent
Parent node to append child element to
request
data
localName
Local name of the new element.
Append​(System.​Xml.​XmlNode node,
Samlp.​Response response)
Append the response as a child node
node
Parent node
response
Saml response
Append​(System.​Xml.​XmlNode node,
Metadata.​Endpoint service,
string elementName)
Append the service as a child node
node
parent node
service
Service that will become child node
elementName
Name of the element
protected
void
Append​(System.​Xml.​XmlNode parent,
Samlp.​SamlStatus status)
Append a Saml status
parent
Parent node to append child element to
status
value
protected
void
AppendStatusCode​(System.​Xml.​XmlNode parent,
Samlp.​StatusCode statusCode)
Appends status code element
parent
Parent node to append the child element to
statusCode
Status code from which to create the status element
Append​(System.​Xml.​XmlNode parent,
Samlp.​StatusResponseType statusResponseType,
string localName)
Append a type derived from StatusResponseType, with the given name
parent
Parent node to append child element to
statusResponseType
data
localName
Local name of the new element
protected
void
Append​(System.​Xml.​XmlNode parent,
Subject subject)
Append a Subject element
parent
Parent node
subject
Subject
protected
void
Append​(System.​Xml.​XmlNode parent,
SubjectConfirmation subjectConfirmation)
Append a SubjectConfirmation element
parent
Parent node
subjectConfirmation
Write subjectConfirmation
protected
void
Append​(System.​Xml.​XmlNode parent,
SubjectConfirmationData subjectConfirmationData)
Append a SubjectConfirmationData element
parent
Parent node
subjectConfirmationData
Write subjectConfirmationData
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object