Επεξεργασία

Κοινή χρήση μέσω


MetadataSerializer Class

Definition

Provides support for Metadata Serialization.

public ref class MetadataSerializer
public class MetadataSerializer
type MetadataSerializer = class
Public Class MetadataSerializer
Inheritance
MetadataSerializer

Constructors

MetadataSerializer()

Initializes a new instance of the MetadataSerializer class with a default token serializer.

MetadataSerializer(SecurityTokenSerializer)

Initializes a new instance of the MetadataSerializer class that uses the specified token serializer.

Fields

LanguageAttribute

A string constant that defines the language attribute, "xml:lang".

LanguageLocalName

A string constant that defines the language local name, "lang".

LanguageNamespaceUri

A string constant that defines the language namespace URI, http://www.w3.org/XML/1998/namespace.

LanguagePrefix

A string constant that defines the language prefix, "xml".

Properties

CertificateValidationMode

Gets or sets the validation mode of the X.509 certificate that is used to sign the metadata document.

CertificateValidator

Gets or sets the certificate validator for the X.509 certificate that is used to sign the metadata document.

RevocationMode

Gets or sets the revocation mode of the X.509 certificate that is used to sign the metadata document.

SecurityTokenSerializer

Gets the token serializer that is used by the current instance to serialize security tokens.

TrustedIssuers

Gets the list of trusted issuers that are trusted to sign the metadata document by the current instance.

TrustedStoreLocation

Gets or sets the trusted store location of the X.509 certificate that is used to sign the metadata document.

Methods

CreateApplicationServiceInstance()

Creates an application service descriptor.

CreateContactPersonInstance()

Creates a contact person.

CreateEntitiesDescriptorInstance()

Creates an entities descriptor.

CreateEntityDescriptorInstance()

Creates an entity descriptor.

CreateIdentityProviderSingleSignOnDescriptorInstance()

Creates an IDPSSO descriptor.

CreateIndexedProtocolEndpointInstance()

Creates an indexed endpoint.

CreateKeyDescriptorInstance()

Creates a key descriptor.

CreateLocalizedNameInstance()

Creates a localized name.

CreateLocalizedUriInstance()

Creates a localized URI.

CreateOrganizationInstance()

Creates an organization.

CreateProtocolEndpointInstance()

Creates an endpoint.

CreateSecurityTokenServiceDescriptorInstance()

Creates a security token service descriptor.

CreateServiceProviderSingleSignOnDescriptorInstance()

Creates an SPSSO descriptor.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMetadataSigningCertificate(SecurityKeyIdentifier)

Gets the X.509 certificate created from the specified key identifier.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadApplicationServiceDescriptor(XmlReader)

Reads an application service descriptor.

ReadAttribute(XmlReader)

Reads the <saml:Attribute> element.

ReadContactPerson(XmlReader)

Reads a contact person.

ReadCustomAttributes<T>(XmlReader, T)

Extensibility point for reading custom attributes.

ReadCustomElement<T>(XmlReader, T)

Extensibility point for reading custom elements. By default, returns false.

ReadCustomRoleDescriptor(String, XmlReader, EntityDescriptor)

Extensibility point for reading custom RoleDescriptors.

ReadDisplayClaim(XmlReader)

Reads a display claim.

ReadEntitiesDescriptor(XmlReader, SecurityTokenResolver)

Reads an entities descriptor.

ReadEntityDescriptor(XmlReader, SecurityTokenResolver)

Reads an entity descriptor.

ReadIdentityProviderSingleSignOnDescriptor(XmlReader)

Reads an IDPSSO descriptor.

ReadIndexedProtocolEndpoint(XmlReader)

Reads an indexed endpoint.

ReadKeyDescriptor(XmlReader)

Reads a key descriptor.

ReadLocalizedName(XmlReader)

Reads a localized name.

ReadLocalizedUri(XmlReader)

Reads a localized URI.

ReadMetadata(Stream)

Reads the specified stream to deserialize an entity descriptor or an entities descriptor.

ReadMetadata(XmlReader, SecurityTokenResolver)

Read the given XmlReader to deserialize an entity descriptor or an entities descriptor.

ReadMetadata(XmlReader)

Reads the specified XML reader to deserialize an entity descriptor or an entities descriptor.

ReadMetadataCore(XmlReader, SecurityTokenResolver)

Reads an entity descriptor or an entities descriptor.

ReadOrganization(XmlReader)

Reads an organization.

ReadProtocolEndpoint(XmlReader)

Reads an endpoint.

ReadRoleDescriptorAttributes(XmlReader, RoleDescriptor)

Reads role descriptor attributes.

ReadRoleDescriptorElement(XmlReader, RoleDescriptor)

Reads role descriptor elements.

ReadSecurityTokenServiceDescriptor(XmlReader)

Reads a security token service descriptor.

ReadServiceProviderSingleSignOnDescriptor(XmlReader)

Reads an SPSSO descriptor.

ReadSingleSignOnDescriptorAttributes(XmlReader, SingleSignOnDescriptor)

Reads SSO descriptor attributes.

ReadSingleSignOnDescriptorElement(XmlReader, SingleSignOnDescriptor)

Reads SSO descriptor elements.

ReadWebServiceDescriptorAttributes(XmlReader, WebServiceDescriptor)

Reads web service descriptor attributes.

ReadWebServiceDescriptorElement(XmlReader, WebServiceDescriptor)

Reads web service descriptor elements.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateIssuer(X509Certificate2)

Validates the X.509 certificate that signed the metadata document against the trusted issuers list specified by the TrustedIssuers property. This method is invoked by the ValidateSigningCredential(SigningCredentials) method.

ValidateSigningCredential(SigningCredentials)

Validates the signing credentials of the metadata document.

WriteApplicationServiceDescriptor(XmlWriter, ApplicationServiceDescriptor)

Writes an application service descriptor.

WriteAttribute(XmlWriter, Saml2Attribute)

Writes the <saml:Attribute> element.

WriteContactPerson(XmlWriter, ContactPerson)

Writes a contact person.

WriteCustomAttributes<T>(XmlWriter, T)

Extensible point to write custom attributes.

WriteCustomElements<T>(XmlWriter, T)

Extensible point to write custom elements.

WriteDisplayClaim(XmlWriter, DisplayClaim)

Writes a display claim.

WriteEntitiesDescriptor(XmlWriter, EntitiesDescriptor)

Writes an entities descriptor.

WriteEntityDescriptor(XmlWriter, EntityDescriptor)

Writes an entity descriptor.

WriteIdentityProviderSingleSignOnDescriptor(XmlWriter, IdentityProviderSingleSignOnDescriptor)

Writes an IDPSSO descriptor.

WriteIndexedProtocolEndpoint(XmlWriter, IndexedProtocolEndpoint, XmlQualifiedName)

Writes an indexed endpoint.

WriteKeyDescriptor(XmlWriter, KeyDescriptor)

Writes a key descriptor.

WriteLocalizedName(XmlWriter, LocalizedName, XmlQualifiedName)

Writes a localized name.

WriteLocalizedUri(XmlWriter, LocalizedUri, XmlQualifiedName)

Writes a localized URI.

WriteMetadata(Stream, MetadataBase)

Writes the federation metadata to the specified stream.

WriteMetadata(XmlWriter, MetadataBase)

Writes the federation metadata to the specified XML writer.

WriteMetadataCore(XmlWriter, MetadataBase)

Writes the metadata.

WriteOrganization(XmlWriter, Organization)

Writes an organization.

WriteProtocolEndpoint(XmlWriter, ProtocolEndpoint, XmlQualifiedName)

Writes an endpoint.

WriteRoleDescriptorAttributes(XmlWriter, RoleDescriptor)

Writes role descriptor attributes.

WriteRoleDescriptorElements(XmlWriter, RoleDescriptor)

Writes the role descriptor element.

WriteSecurityTokenServiceDescriptor(XmlWriter, SecurityTokenServiceDescriptor)

Writes a security token service descriptor.

WriteServiceProviderSingleSignOnDescriptor(XmlWriter, ServiceProviderSingleSignOnDescriptor)

Writes an SPSSO descriptor.

WriteSingleSignOnDescriptorAttributes(XmlWriter, SingleSignOnDescriptor)

Writes the SSO descriptor attributes.

WriteSingleSignOnDescriptorElements(XmlWriter, SingleSignOnDescriptor)

Writes the SSO descriptor element.

WriteWebServiceDescriptorAttributes(XmlWriter, WebServiceDescriptor)

Writes the web service descriptor attributes.

WriteWebServiceDescriptorElements(XmlWriter, WebServiceDescriptor)

Writes a web service descriptor element.

Applies to