|
Crescendo SDK
|
Loading...
Searching...
No Matches
CrescendoDLL.PCSC.BerTLVBuffer Class Reference
Represents a BER-TLV (Binary Encoded Representation Tag-Length-Value) data buffer for PIV (Personal Identity Verification) data object handling. More...
Public Member Functions |
|
| BerTLVBuffer | AddTag (string tag, byte[]? data) |
| Adds or updates a tag-value pair in the buffer. |
|
| BerTLVBuffer (byte[]? data, string berTLVTag) | |
| Constructs a BER-TLV buffer from raw card response data. |
|
| byte[] | ConstructDataFieldFromBerTLVBuffer () |
| Constructs complete PIV data field with tag list. |
|
| BerTLVBuffer | RemoveTag (string tag) |
| Removes a tag-value pair from the buffer. |
|
| byte[] | ToByte () |
| Serializes the buffer to BER-TLV formatted byte array. |
|
Public Attributes |
|
| Dictionary< string, byte[]> | Content = new() |
| Dictionary of TLV components (Tag-Length-Value entries) |
|
| bool | IsEmpty = true |
| Indicates if the buffer contains no valid TLV data. |
|
Properties |
|
| string | BERTLVTag = default! [get, set] |
| Main BER-TLV tag identifier for the data object. |
|
| byte | GeneralTag = 0x53 [get, set] |
| General encapsulation tag (default: 0x53 for Discovery Object) |
|
Detailed Description
Represents a BER-TLV (Binary Encoded Representation Tag-Length-Value) data buffer for PIV (Personal Identity Verification) data object handling.
Implements encoding/decoding of PIV data objects per NIST SP 800-73-4 specifications.