Search Results for

    Show / Hide Table of Contents

    Interface ICertificateAuthorityService

    Defines the contract for X.509 Certificate Authority service generating custom certificates.

    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [ServiceContract(Name = "CertificateAuthorityService", Namespace = "http://schemas.nevatech.com/sentinet/2011/02", SessionMode = SessionMode.Allowed)]
    public interface ICertificateAuthorityService

    Methods

    CreateCertificate(string)

    Create new X.509 certificate issued by Repository Certificate Authority.

    Declaration
    [OperationContract]
    CertificateInfo CreateCertificate(string subjectName)
    Parameters
    Type Name Description
    string subjectName

    New certificate's subject distinguished name.

    Returns
    Type Description
    CertificateInfo

    Created X.509 certificate with its basic information.

    CreateCertificate(string, int, string)

    Create new X.509 certificate issued by Repository Certificate Authority.

    Declaration
    [OperationContract(Name = "CreatePfxCertificate")]
    CertificateInfo CreateCertificate(string subjectName, int validDays, string password)
    Parameters
    Type Name Description
    string subjectName

    New certificate's subject distinguished name.

    int validDays

    Requested number of days after which the certificate expires. This value can be automatically limited by Repository expirationMonths configuration value.

    string password

    Password for the resulting PFX file.

    Returns
    Type Description
    CertificateInfo

    Created X.509 certificate with its basic information and password protected PFX data in its RawData property.

    GetCertificateAuthorities()

    Returns X.509 certificates belonging to Certificate Authorities that have to be trusted by service providers and consumers.

    Declaration
    [OperationContract]
    [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
    Collection<CertificateInfo> GetCertificateAuthorities()
    Returns
    Type Description
    Collection<CertificateInfo>

    X.509 certificates belonging to Certificate Authorities.

    SignCertificateRequest(string)

    Signs provided X.509 certificate signing request (CSR) using Repository Certificate Authority certificate.

    Declaration
    [OperationContract]
    string SignCertificateRequest(string request)
    Parameters
    Type Name Description
    string request

    Base64-encoded certificate's signing request that needs to be signed.

    Returns
    Type Description
    string

    Base64-encoded signed request that needs to be merged with the requestor's private key.

    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation