PIN verification method. If string is shorter than 8 digits, this method applies 0xFF padding on byte-level. This method is onl;y meant for user PIN. It does not support global PINs, PUKs SO PINs or transport PINs Note, that VERIFY command can use key references other than '00', '80', '96', '97', and '98', if they are used for card management operations. Internal PIN reference is always 0x80 Exammple: "1234" becomes 0x31323334FFFFFFFF.

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

Public Function Verify( _ 
ByVal keyReference As Integer, _ 
ByVal pin As Byte() _ 
) As Integer
This language is not supported or no code example is available.
public int Verify( 
int keyReference
byte[] pin 
)
This language is not supported or no code example is available.
public:  
int Verify( 
int keyReference
array< Byte >^ pin 
)
This language is not supported or no code example is available.
public function Verify( 
keyReference : int
pin : byte[] 
) : int;
This language is not supported or no code example is available.

Parameters

keyReference
Type: int

key references other than '80' and '81', if they are used for card management operations.

pin
Type: byte[]

PIN value; up to 8 numeric digits {0,1,2,3,4,5,6,7,8,9}

Return Value

Type: int

An int.

.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