Parameters for representing the CSC Provider based credentials as a subtype for CertificateCredentials.

Hierarchy (view full)

Constructors

  • Constructs a new CSCCredential instance.

    Parameters

    • params: {
          authorizationContext: CSCAuthContext;
          credentialId: string;
          pin: string;
          providerName: string;
      }

      The parameters for constructing an instance of CSCCredential.

      • authorizationContext: CSCAuthContext

        The service authorization data required to communicate with the TSP. Cannot be undefined.

      • credentialId: string

        The digital ID stored with the TSP provider to be used for applying electronic seal. Cannot be undefined.

      • pin: string

        The pin associated with the credential ID. Cannot be undefined.

      • providerName: string

        The name of the Trust Service Provider to be used for applying electronic seal. Cannot be undefined.

    Returns CSCCredential

Properties

_authorizationContext: CSCAuthContext
_credentialId: string
_pin: string
_providerName: string

Accessors

  • get authorizationContext(): CSCAuthContext
  • Returns the service authorization data required to communicate with the TSP.

    Returns CSCAuthContext

    the service authorization data required to communicate with the TSP.

  • get credentialID(): string
  • Returns the digital ID stored with the TSP provider to be used for applying electronic seal.

    Returns string

    the digital ID stored with the TSP provider.

  • get pin(): string
  • Returns the pin associated with the credential ID.

    Returns string

    the pin associated with the credential ID.

  • get providerName(): string
  • Returns the name of the Trust Service Provider to be used for applying electronic seal.

    Returns string

    the name of the Trust Service Provider.

Generated using TypeDoc