Helper class to parse X509 data coming from a card data container.

Namespace: CardWerk.SmartCard.CardModule.PIV
Assembly: CardWerk.SmartCard.CardModule.PIV (in CardWerk.SmartCard.CardModule.PIV.dll)

Public Class PivCardCertificate
This language is not supported or no code example is available.
public class PivCardCertificate
This language is not supported or no code example is available.
public ref class PivCardCertificate 
This language is not supported or no code example is available.
public class PivCardCertificate
This language is not supported or no code example is available.
Name Description
Public constructor PivCardCertificate(byte[], string) Convenience class to work with X509 certificates stored on PIV cards.
Top
Name Description
Public property CertInfo Allows public access to raw cert info. Data does not include TLV values related to PIV card container. The returned value can contain up to 1 bytes.
Public property CertificateData Allows public access to raw cert data.
Public property MSCUID Allows public access to raw MSCUID. Data does not include TLV values related to PIV card container. The returned value can contain up to 38 bytes.
Public property RawData Allows public access to the raw data of the X509 certificate container. This contains all tags including the leading '53' container tag.
Public property X509Certificate Public access to Microsoft X509Certificate2 class defined in System.Security.Cryptography.X509Certificates. This allows easy usage of X509 certificates on Microsoft Windows systems with .NET framework 2.0 and up.
Top
Name Description
Public method ToString() Convenience method that formats X509 cert in a nice human readable fashion. We are using .NET X509 certificate object wherever we can. Note that this object can be retrieved completely via member getter function.
Top

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0

.NET Standard

Supported in: 2.0