Convenience class to work with X509 certificates stored on PIV cards.

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

Public Sub New( _ 
ByVal certificateData As Byte(), _ 
Optional ByVal mode As String = "CONTAINER" _ 
)
This language is not supported or no code example is available.
public PivCardCertificate( 
byte[] certificateData
string mode = "CONTAINER" 
)
This language is not supported or no code example is available.
public:  
PivCardCertificate( 
array< Byte >^ certificateData
String^ mode 
)
This language is not supported or no code example is available.
public function PivCardCertificate( 
certificateData : byte[], 
mode : String 
);
This language is not supported or no code example is available.

Parameters

certificateData
Type: byte[]

certificate data; may contain additional PIV related tags.

mode
Type: string

(Optional) CONTAINER: parses data as PIV data container; X509: parses data as X509 data.

Exception type Condition

Exception

Thrown when an exception error condition occurs.

.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