Certificate Constructors
Overloads
Certificate(Byte[], String) | Initializes a new instance of a Certificate from the given data. |
Certificate(StoreName, StoreLocation, String) | Initializes a new instance of a Certificate from the certificate store. |
Certificate(String) | Initializes a new instance of a Certificate from the certificate store. |
Certificate(String, StoreLocation, String) | Initializes a new instance of a Certificate from the certificate store. |
Certificate(String, String) | Initializes a new instance of a Certificate from the given file. |
Certificate(X509Certificate2) | Initializes a new instance of a Certificate from an X509Certificate2 certificate class. |
Certificate(Byte[], String)
Initializes a new instance of a Certificate from the given data.
public Certificate(Byte[] certificateData, string password)
Public Sub New (certificateData As Byte(), password As String)
Parameters
- certificateData
- Byte[]
Byte array containing the digital certificate with private key.
- password
- String
Password for the certificate.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: This class requires the .NET Framework 2.0 or greater.
Certificate(StoreName, StoreLocation, String)
Initializes a new instance of a Certificate from the certificate store.
public Certificate(StoreName storeName, StoreLocation storeLocation, string certificateSubject)
Public Sub New (storeName As StoreName, storeLocation As StoreLocation, certificateSubject As String)
Parameters
- storeLocation
- StoreLocation
Value of type StoreLocation
- certificateSubject
- String
A portion or full subject string corresponds to fetch the certificate from store.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: This class requires the .NET Framework 2.0 or greater.
Certificate(String)
Initializes a new instance of a Certificate from the certificate store.
public Certificate(string certificateSubject)
Public Sub New (certificateSubject As String)
Parameters
- certificateSubject
- String
A portion or full subject string corresponds to fetch the certificate from store.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: This class requires the .NET Framework 2.0 or greater.
Default certificate store will be used.Certificate(String, StoreLocation, String)
Initializes a new instance of a Certificate from the certificate store.
public Certificate(string storeName, StoreLocation storeLocation, string certificateSubject)
Public Sub New (storeName As String, storeLocation As StoreLocation, certificateSubject As String)
Parameters
- storeName
- String
Store name where the certificate resides.
- storeLocation
- StoreLocation
Value of type StoreLocation
- certificateSubject
- String
A portion or full subject string corresponds to fetch the certificate from store.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: This class requires the .NET Framework 2.0 or greater.
Certificate(String, String)
Initializes a new instance of a Certificate from the given file.
public Certificate(string certificatePath, string password)
Public Sub New (certificatePath As String, password As String)
Parameters
- certificatePath
- String
Physical file path to a digital certificate with private key.
- password
- String
Password for the certificate.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: This class requires the .NET Framework 2.0 or greater.
Certificate(X509Certificate2)
Initializes a new instance of a Certificate from an X509Certificate2 certificate class.
public Certificate(X509Certificate2 certificate)
Public Sub New (certificate As X509Certificate2)
Parameters
- certificate
- X509Certificate2
A digital certificate with private key.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: This class requires the .NET Framework 2.0 or greater.