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 Sustainsys.​Saml2.​Metadata.​MetadataSerializer

Assembly: Sustainsys.Saml2

Inheritance: object → MetadataSerializer

Methods

CreateAdditionalMetadataLocationInstance​()
CreateAffiliationDescriptorInstance​()
CreateApplicationServiceEndpointInstance​()
CreateApplicationServiceInstance​()
CreateArtifactResolutionServiceInstance​()
CreateAssertionConsumerServiceInstance​()
CreateAssertionIdRequestServiceInstance​()
CreateAttributeAuthorityDescriptorInstance​()
CreateAttributeConsumingServiceInstance​()
protected AttributeService
CreateAttributeServiceInstance​()
protected AttributeProfile
CreateAttributeProfileInstance​()
CreateAuthnAuthorityDescriptorInstance​()
protected AuthnQueryService
CreateAuthnQueryServiceInstance​()
protected AuthzService
CreateAuthzServiceInstance​()
protected CipherData
CreateCipherDataInstance​()
protected ClaimValue
CreateClaimValueInstance​()
protected CipherReference
CreateCipherReferenceInstance​()
protected ConstrainedValue
CreateConstrainedValueInstance​()
protected ContactPerson
CreateContactPersonInstance​()
protected DiscoveryResponse
CreateDiscoveryResponseInstance​()
protected DSigKeyInfo
CreateDSigKeyInfoInstance​()
protected EndpointReference
CreateEndpointReferenceInstance​()
protected PDPDescriptor
CreatePDPDescriptorInstance​()
protected EncryptedData
CreateEncryptedDataInstance​()
protected EncryptionProperty
CreateEncryptionPropertyInstance​()
CreateEncryptionPropertiesInstance​()
protected EncryptedValue
CreateEncryptedValueInstance​()
protected EncryptionMethod
CreateEncryptionMethodInstance​()
protected Endpoint
CreateEndpointInstance​()
protected EntitiesDescriptor
CreateEntitiesDescriptorInstance​()
protected EntityDescriptor
CreateEntityDescriptorInstance​()
protected IdpSsoDescriptor
CreateIdpSsoDescriptorInstance​()
protected KeyDescriptor
CreateKeyDescriptorInstance​()
protected LocalizedName
CreateLocalizedNameInstance​()
protected LocalizedUri
CreateLocalizedUriInstance​()
CreateManageNameIDServiceInstance​()
protected NameIDFormat
CreateNameIDFormatInstance​()
CreateNameIDMappingServiceInstance​()
protected Organization
CreateOrganizationInstance​()
CreatePassiveRequestorEndpointInstance​()
protected RequestedAttribute
CreateRequestedAttributeInstance​(string name)
CreateSaml2AttributeInstance​(string name)
protected ServiceName
CreateServiceNameInstance​()
CreateSingleLogoutServiceInstance​()
CreateSingleSignOutNotificationEndpointInstance​()
CreateSecurityTokenServiceDescriptorInstance​()
CreateSingleSignOnServiceInstance​()
protected SpSsoDescriptor
CreateSpSsoDescriptorInstance​()
CreateXEncEncryptionMethodInstance​()
ReadApplicationServiceDescriptor​(System.Xml.XmlReader reader)
protected ContactPerson
ReadContactPerson​(System.Xml.XmlReader reader)
protected void
ReadCustomAttributes​(System.Xml.XmlReader reader, T target)
protected bool
ReadCustomElement​(System.Xml.XmlReader reader, T target)
protected KeyValue
ReadCustomKeyValue​(System.Xml.XmlReader reader)
protected void
ReadCustomRoleDescriptor​(string xsiType, System.Xml.XmlReader reader, EntityDescriptor entityDescriptor)
protected byte[]
ReadBase64​(System.Xml.XmlReader reader)
protected DsaKeyValue
ReadDSAKeyValue​(System.Xml.XmlReader reader)
protected RsaKeyValue
ReadRSAKeyValue​(System.Xml.XmlReader reader)
protected EcKeyValue
ReadECDSAKeyValue​(System.Xml.XmlReader reader)
protected EcKeyValue
ReadECKeyValue​(System.Xml.XmlReader reader)
protected KeyValue
ReadKeyValue​(System.Xml.XmlReader reader)
protected RetrievalMethod
ReadRetrievalMethod​(System.Xml.XmlReader reader)
protected X509IssuerSerial
ReadX509IssuerSerial​(System.Xml.XmlReader reader)
protected X509Digest
ReadX509Digest​(System.Xml.XmlReader reader)
protected X509Data
ReadX509Data​(System.Xml.XmlReader reader)
protected DSigKeyInfo
ReadDSigKeyInfo​(System.Xml.XmlReader reader)
protected EncryptionMethod
ReadEncryptionMethod​(System.Xml.XmlReader reader)
ReadXEncEncryptionMethod​(System.Xml.XmlReader reader)
protected CipherReference
ReadCipherReference​(System.Xml.XmlReader reader)
protected CipherData
ReadCipherData​(System.Xml.XmlReader reader)
protected EncryptionProperty
ReadEncryptionProperty​(System.Xml.XmlReader reader)
ReadEncryptionProperties​(System.Xml.XmlReader reader)
protected EncryptedData
ReadEncryptedData​(System.Xml.XmlReader reader)
protected EncryptedValue
ReadEncryptedValue​(System.Xml.XmlReader reader)
protected ClaimValue
ReadClaimValue​(System.Xml.XmlReader reader)
protected CompareConstraint
ReadCompareConstraint​(System.Xml.XmlReader reader, CompareOperator op)
protected RangeConstraint
ReadRangeConstraint​(System.Xml.XmlReader reader)
protected ConstrainedValue
ReadConstrainedValue​(System.Xml.XmlReader reader)
protected DisplayClaim
ReadDisplayClaim​(System.Xml.XmlReader reader)
protected EntitiesDescriptor
ReadEntitiesDescriptor​(System.Xml.XmlReader reader, Selectors.SecurityTokenResolver tokenResolver)
protected void
ValidateSigningCredential​(Microsoft.IdentityModel.Tokens.SigningCredentials signingCredentials)
protected void
ValidateIssuer​(System.Security.Cryptography.X509Certificates.X509Certificate2 signingCertificate)
protected T
ReadSaml2AttributeAttributes​(System.Xml.XmlReader reader, System.Func`2 createInstance)
protected bool
ReadSaml2AttributeElement​(System.Xml.XmlReader reader, Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute attribute)
ReadAffiliationDescriptor​(System.Xml.XmlReader reader)
ReadAdditionalMetadataLocation​(System.Xml.XmlReader reader)
protected EntityDescriptor
ReadEntityDescriptor​(System.Xml.XmlReader reader, Selectors.SecurityTokenResolver tokenResolver)
protected IdpSsoDescriptor
ReadIdpSsoDescriptor​(System.Xml.XmlReader reader)
protected KeyDescriptor
ReadKeyDescriptor​(System.Xml.XmlReader reader)
protected LocalizedName
ReadLocalizedName​(System.Xml.XmlReader reader)
protected LocalizedUri
ReadLocalizedUri​(System.Xml.XmlReader reader)
public MetadataBase
ReadMetadata​(System.IO.Stream stream)
public MetadataBase
ReadMetadata​(System.Xml.XmlReader reader)
public MetadataBase
ReadMetadata​(System.Xml.XmlReader reader, Selectors.SecurityTokenResolver tokenResolver)
protected MetadataBase
ReadMetadataCore​(System.Xml.XmlReader reader, Selectors.SecurityTokenResolver tokenResolver)
protected Organization
ReadOrganization​(System.Xml.XmlReader reader)
protected void
ReadRoleDescriptorAttributes​(System.Xml.XmlReader reader, RoleDescriptor roleDescriptor)
protected bool
ReadRoleDescriptorElement​(System.Xml.XmlReader reader, RoleDescriptor roleDescriptor)
ReadSecurityTokenServiceDescriptor​(System.Xml.XmlReader reader)
protected RequestedAttribute
ReadRequestedAttribute​(System.Xml.XmlReader reader)
ReadAttributeConsumingService​(System.Xml.XmlReader reader)
protected SpSsoDescriptor
ReadSpSsoDescriptor​(System.Xml.XmlReader reader)
protected void
ReadSsoDescriptorAttributes​(System.Xml.XmlReader reader, SsoDescriptor descriptor)
protected bool
ReadSsoDescriptorElement​(System.Xml.XmlReader reader, SsoDescriptor descriptor)
protected void
ReadEndpointAttributes​(System.Xml.XmlReader reader, Endpoint endpoint)
protected Endpoint
ReadEndpoint​(System.Xml.XmlReader reader)
protected AttributeService
ReadAttributeService​(System.Xml.XmlReader reader)
protected AuthnQueryService
ReadAuthnQueryService​(System.Xml.XmlReader reader)
ReadAssertionIdRequestService​(System.Xml.XmlReader reader)
protected AuthzService
ReadAuthzService​(System.Xml.XmlReader reader)
ReadSingleLogoutService​(System.Xml.XmlReader reader)
ReadManageNameIDService​(System.Xml.XmlReader reader)
ReadSingleSignOutNotificationEndpoint​(System.Xml.XmlReader reader)
ReadApplicationServiceEndpoint​(System.Xml.XmlReader reader)
ReadPassiveRequestorEndpoint​(System.Xml.XmlReader reader)
ReadSingleSignOnService​(System.Xml.XmlReader reader)
ReadNameIDMappingService​(System.Xml.XmlReader reader)
ReadAssertionConsumerService​(System.Xml.XmlReader reader)
ReadArtifactResolutionService​(System.Xml.XmlReader reader)
protected DiscoveryResponse
ReadDiscoveryResponse​(System.Xml.XmlReader reader)
protected PDPDescriptor
ReadPDPDescriptor​(System.Xml.XmlReader reader)
protected NameIDFormat
ReadNameIDFormat​(System.Xml.XmlReader reader)
ReadAuthnAuthorityDescriptor​(System.Xml.XmlReader reader)
protected AttributeProfile
ReadAttributeProfile​(System.Xml.XmlReader reader)
ReadAttributeAuthorityDescriptor​(System.Xml.XmlReader reader)
protected void
ReadWebServiceDescriptorAttributes​(System.Xml.XmlReader reader, WebServiceDescriptor descriptor)
protected ServiceName
ReadServiceName​(System.Xml.XmlReader reader)
protected EndpointReference
ReadEndpointReference​(System.Xml.XmlReader reader)
protected EndpointReference
ReadWrappedEndpointReference​(System.Xml.XmlReader reader)
protected bool
ReadWebServiceDescriptorElement​(System.Xml.XmlReader reader, WebServiceDescriptor descriptor)
protected void
WriteServiceName​(System.Xml.XmlWriter writer, ServiceName serviceName)
protected void
WriteEndpointReference​(System.Xml.XmlWriter writer, EndpointReference endpointReference)
protected void
WriteApplicationServiceDescriptor​(System.Xml.XmlWriter writer, ApplicationServiceDescriptor appService)
protected void
WriteContactPerson​(System.Xml.XmlWriter writer, ContactPerson contactPerson)
protected void
WriteCustomAttributes​(System.Xml.XmlWriter writer, T source)
protected void
WriteCustomElements​(System.Xml.XmlWriter writer, T source)
protected void
WriteEndpointAttributes​(System.Xml.XmlWriter writer, Endpoint endpoint)
protected void
WriteEndpoint​(System.Xml.XmlWriter writer, Endpoint endpoint, string name, string ns)
protected void
WriteIndexedEndpoint​(System.Xml.XmlWriter writer, IndexedEndpoint endpoint, string name, string ns)
protected void
WriteEndpoints​(System.Xml.XmlWriter writer, System.Collections.Generic.IEnumerable`1 endpoints, string name, string ns)
protected void
WriteIndexedEndpoints​(System.Xml.XmlWriter writer, System.Collections.Generic.IEnumerable`1 endpoints, string name, string ns)
protected void
WriteXEncEncryptionMethod​(System.Xml.XmlWriter writer, XEncEncryptionMethod method)
protected void
WriteEncryptionMethod​(System.Xml.XmlWriter writer, EncryptionMethod method)
protected void
WriteRSAKeyValue​(System.Xml.XmlWriter writer, RsaKeyValue rsa)
protected void
WriteDSAKeyValue​(System.Xml.XmlWriter writer, DsaKeyValue dsa)
protected void
WriteECKeyValue​(System.Xml.XmlWriter writer, EcKeyValue ec)
protected void
WriteKeyValue​(System.Xml.XmlWriter writer, KeyValue keyValue)
protected void
WriteRetrievalMethod​(System.Xml.XmlWriter writer, RetrievalMethod method)
protected void
WriteX509IssuerSerial​(System.Xml.XmlWriter writer, X509IssuerSerial issuerSerial)
protected void
WriteX509Digest​(System.Xml.XmlWriter writer, X509Digest digest)
protected void
WriteX509Data​(System.Xml.XmlWriter writer, X509Data data)
protected void
WriteKeyData​(System.Xml.XmlWriter writer, KeyData keyData)
protected void
WriteDSigKeyInfo​(System.Xml.XmlWriter writer, DSigKeyInfo keyInfo)
protected void
WriteCipherReference​(System.Xml.XmlWriter writer, CipherReference reference)
protected void
WriteCipherData​(System.Xml.XmlWriter writer, CipherData data)
protected void
WriteEncryptionProperty​(System.Xml.XmlWriter writer, EncryptionProperty property)
protected void
WriteEncryptionProperties​(System.Xml.XmlWriter writer, EncryptionProperties properties)
protected void
WriteEncryptedData​(System.Xml.XmlWriter writer, EncryptedData data)
protected void
WriteEncryptedValue​(System.Xml.XmlWriter writer, EncryptedValue value)
protected void
WriteClaimValue​(System.Xml.XmlWriter writer, ClaimValue value)
protected void
WriteCompareConstraint​(System.Xml.XmlWriter writer, CompareConstraint constraint)
protected void
WriteListContraint​(System.Xml.XmlWriter writer, ListConstraint constraint)
protected void
WriteRangeConstraint​(System.Xml.XmlWriter writer, RangeConstraint constraint)
protected void
WriteListConstraint​(System.Xml.XmlWriter writer, ListConstraint constraint)
protected void
WriteConstrainedValue​(System.Xml.XmlWriter writer, ConstrainedValue value)
protected void
WriteDisplayClaim​(System.Xml.XmlWriter writer, DisplayClaim claim)
protected void
WriteEntitiesDescriptor​(System.Xml.XmlWriter writer, EntitiesDescriptor entitiesDescriptor)
protected void
WriteNameIDFormat​(System.Xml.XmlWriter writer, NameIDFormat nameIDFormat)
protected void
WriteAuthnAuthorityDescriptor​(System.Xml.XmlWriter writer, AuthnAuthorityDescriptor descriptor)
protected void
WriteAttributeProfile​(System.Xml.XmlWriter writer, AttributeProfile profile)
protected void
WriteAttributeAuthorityDescriptor​(System.Xml.XmlWriter writer, AttributeAuthorityDescriptor descriptor)
protected void
WritePDPDescriptor​(System.Xml.XmlWriter writer, PDPDescriptor descriptor)
protected void
WriteAffiliationDescriptor​(System.Xml.XmlWriter writer, AffiliationDescriptor descriptor)
protected void
WriteAdditionalMetadataLocation​(System.Xml.XmlWriter writer, AdditionalMetadataLocation location)
protected void
WriteEntityDescriptor​(System.Xml.XmlWriter writer, EntityDescriptor entityDescriptor)
protected void
WriteIdpSsoDescriptor​(System.Xml.XmlWriter writer, IdpSsoDescriptor descriptor)
protected void
WriteKeyDescriptor​(System.Xml.XmlWriter writer, KeyDescriptor keyDescriptor)
protected void
WriteLocalizedName​(System.Xml.XmlWriter writer, LocalizedName name, string elName, string ns)
protected void
WriteLocalizedUri​(System.Xml.XmlWriter writer, LocalizedUri uri, string name, string ns)
public void
WriteMetadata​(System.IO.Stream stream, MetadataBase metadata)
public void
WriteMetadata​(System.Xml.XmlWriter writer, MetadataBase metadata)
protected void
WriteMetadataCore​(System.Xml.XmlWriter writer, MetadataBase metadata)
protected void
WriteOrganization​(System.Xml.XmlWriter writer, Organization organization)
protected void
WriteRoleDescriptorAttributes​(System.Xml.XmlWriter writer, RoleDescriptor descriptor)
protected void
WriteRoleDescriptorElements​(System.Xml.XmlWriter writer, RoleDescriptor descriptor)
protected void
WriteSecurityTokenServiceDescriptor​(System.Xml.XmlWriter writer, SecurityTokenServiceDescriptor descriptor)
protected void
WriteRequestedAttribute​(System.Xml.XmlWriter writer, RequestedAttribute attribute)
protected void
WriteAttributeConsumingService​(System.Xml.XmlWriter writer, AttributeConsumingService service)
protected void
WriteSpSsoDescriptor​(System.Xml.XmlWriter writer, SpSsoDescriptor descriptor)
protected void
WriteSsoDescriptorAttributes​(System.Xml.XmlWriter writer, SsoDescriptor descriptor)
protected void
WriteSsoDescriptorElements​(System.Xml.XmlWriter writer, SsoDescriptor descriptor)
protected void
WriteWebServiceDescriptorAttributes​(System.Xml.XmlWriter writer, WebServiceDescriptor descriptor)
protected void
WriteWebServiceDescriptorElements​(System.Xml.XmlWriter writer, WebServiceDescriptor descriptor)
protected void
WriteAttributeAttributes​(System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute attribute)
protected void
WriteAttributeElements​(System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute attribute)
protected void
WriteAttribute​(System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute attribute)
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object