Show / Hide Table of Contents

Class CSCCredential.Builder

Builds an CSCCredential instance.

Inheritance
System.Object
CSCCredential.Builder
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.electronicseal
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class Builder

Constructors

Builder()

Constructs a Builder instance.

Declaration
protected Builder()

Methods

Build()

Returns a new CSCCredential instance built from the current state of this builder.

Declaration
public CSCCredential Build()
Returns
Type Description
CSCCredential

A new CSCCredential instance

WithCredentialID(String)

Sets the TSP credential ID. It is the digital ID stored with the TSP provider that should be used for sealing.

Declaration
public CSCCredential.Builder WithCredentialID(string credentialID)
Parameters
Type Name Description
System.String credentialID

the credential ID

Returns
Type Description
CSCCredential.Builder

this Builder instance to add any additional parameters

WithCSCAuthContext(CSCAuthContext)

Sets the CSC auth context. It encapsulates the service authorization data required to communicate with the TSP and access CSC provider APIs.

Declaration
public CSCCredential.Builder WithCSCAuthContext(CSCAuthContext cscAuthContext)
Parameters
Type Name Description
CSCAuthContext cscAuthContext

the CSC auth context

Returns
Type Description
CSCCredential.Builder

this Builder instance to add any additional parameters

WithPin(String)

Sets the PIN associated with credential ID.

Declaration
public CSCCredential.Builder WithPin(string pin)
Parameters
Type Name Description
System.String pin

the pin

Returns
Type Description
CSCCredential.Builder

this Builder instance to add any additional parameters

WithProviderName(String)

Sets the name of trust service provider being used.

Declaration
public CSCCredential.Builder WithProviderName(string providerName)
Parameters
Type Name Description
System.String providerName

the provider name

Returns
Type Description
CSCCredential.Builder

this Builder instance to add any additional parameters

In This Article
  • Constructors
    • Builder()
  • Methods
    • Build()
    • WithCredentialID(String)
    • WithCSCAuthContext(CSCAuthContext)
    • WithPin(String)
    • WithProviderName(String)
Back to top Copyright © 2020 Adobe. All rights reserved.