Class PdfCertificate
Represents the data for a PFX (Personal Information Exchange) certificate file. This class encapsulates the file's name, its binary content, and the password required to access it.
Inheritance
System.Object
PdfCertificate
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: BoldReports.Writer
Assembly: BoldReports.Web.dll
Syntax
public class PdfCertificate
Remarks
This class is often used to pass all necessary certificate information as a single object to methods that perform digital signing or other cryptographic operations.
Constructors
PdfCertificate()
Declaration
public PdfCertificate()
Properties
Bytes
Gets or sets the raw binary content of the PFX file.
Declaration
public byte[] Bytes { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | A System.Byte[] (byte array) containing the file's data. |
Name
Gets or sets the identifier for the PFX file, typically its filename.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the name of the file (e.g., "certificate.pfx"). |
Password
Gets or sets the password required to open the PFX file and access its private key.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String containing the password. |