Click or drag to resize
Pdftools logo

Certificate Class

A X.509 certificate

Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.Crypto.ProvidersCertificate

Namespace: PdfTools.Crypto.Providers
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public class Certificate : NativeObject

The Certificate type exposes the following members.

Properties
 NameDescription
Public propertyFingerprint

The certificate's fingerprint

The hex string representation of the certificate’s SHA-1 digest.
Public propertyHasPrivateKey

Whether the cryptographic provider has a private key for the certificate.

Note that whether the private key is found and whether it can actually be used for signing may depend on the provider's login state.
Public propertyIssuer

The name of the certificate's issuer (CA)

The common name (CN) of the certificate authority (CA) who issued the certificate.
Public propertyName

The name (subject) of the certificate

The common name (CN) of the person or authority who owns the certificate.
Public propertySubject

The subject of the certificate

The distinguished name (DN) of the person or authority who owns the certificate. Formatted according to RFC 4514.
Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also