Lookup the key references and return the corresponding OID. The PIV certificate OID is a 3-byte BER tag.

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

Public Shared Function GetX509CertObjectId( _ 
ByVal keyRef As Byte
) As Byte()
This language is not supported or no code example is available.
public static byte[] GetX509CertObjectId( 
byte keyRef 
)
This language is not supported or no code example is available.
public:  
static array< Byte >^ GetX509CertObjectId( 
Byte keyRef 
)
This language is not supported or no code example is available.
public static function GetX509CertObjectId( 
keyRef : byte 
) : byte[];
This language is not supported or no code example is available.

Parameters

keyRef
Type: byte

key reference.

Return Value

Type: byte[]

three-byte TLV with OID of the respective certificate.

.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