Show / Hide Table of Contents

    Class CustomIssuerNameRegistry

    Provides methods that return X.509 certificate name or Windows Authority name for provided claim issuer token.

    Inheritance
    Object
    CustomIssuerNameRegistry
    Namespace: Nevatech.Vsb.Repository.Security
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class CustomIssuerNameRegistry : ConfigurationBasedIssuerNameRegistry
    Remarks

    This class alternates the base class behavior and tries to find the trusted issuer in the current node configuration, if trusted issuer is not found in the .config file. If trusted issuer is not found then registry returns certificate thumbprint as issuer name.

    Constructors

    CustomIssuerNameRegistry()

    Initializes an empty instance.

    Declaration
    public CustomIssuerNameRegistry()

    Methods

    GetIssuerName(SecurityToken)

    Returns friendly name for provided issuer's certificate or Null, if issuer is not trusted.

    Declaration
    public override string GetIssuerName(SecurityToken securityToken)
    Parameters
    Type Name Description
    SecurityToken securityToken

    Issuer's X509SecurityToken with certificate.

    Returns
    Type Description
    String

    Name of the issuer or Null, if issuer is not trusted.

    LoadCustomConfiguration(XmlNodeList)

    Loads the trusted issuers from configuration.

    Declaration
    public override void LoadCustomConfiguration(XmlNodeList customConfiguration)
    Parameters
    Type Name Description
    XmlNodeList customConfiguration

    XML configuration which contains collection of trusted certificate issuers.

    Back to top Nevatech Sentinet 6.5 Online Documentation