Show / Hide Table of Contents

    Interface IX509CertificateIdentity

    Defines an interface for an identity created from X.509 certificate.

    Namespace: Nevatech.Vsb.Repository.Services.Identities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public interface IX509CertificateIdentity

    Methods

    GetCertificate(Boolean)

    Returns X.509 certificate represented by this identity.

    Declaration
    X509Certificate2 GetCertificate(bool mustHavePrivateKey)
    Parameters
    Type Name Description
    Boolean mustHavePrivateKey

    Flag indicating that returned X.509 certificate must have a private key. If key does not exists or is not accessible than exception will be thrown.

    Returns
    Type Description
    X509Certificate2

    X.509 certificate represented by this identity.

    Back to top Nevatech Sentinet 6.5 Online Documentation