Allow use of CHANGE REFERENCE DATA command.

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

Public Function ChangeReferenceData( _ 
ByVal keyReference As Integer, _ 
ByVal oldKey As Byte(), _ 
ByVal newKey As Byte() _ 
) As Boolean
This language is not supported or no code example is available.
public bool ChangeReferenceData( 
int keyReference
byte[] oldKey
byte[] newKey 
)
This language is not supported or no code example is available.
public:  
bool ChangeReferenceData( 
int keyReference
array< Byte >^ oldKey
array< Byte >^ newKey 
)
This language is not supported or no code example is available.
public function ChangeReferenceData( 
keyReference : int
oldKey : byte[], 
newKey : byte[] 
) : boolean;
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.

oldKey
Type: byte[]

.

newKey
Type: byte[]

.

Return Value

Type: bool

True if it succeeds, false if it fails.

.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