PrvKeyDataId (Class)¶
A private key data identifier.
Wraps a hex-encoded private key data id. Can be constructed from a hex string or obtained from a PrvKeyDataInfo.
__new__
¶
__new__(id: str) -> PrvKeyDataId
Create a new PrvKeyDataId from a hex string.
| PARAMETER | DESCRIPTION |
|---|---|
id
|
Hex-encoded private key data id.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
PrvKeyDataId
|
A new PrvKeyDataId instance.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
Exception
|
If the hex string is invalid. |
__repr__
¶
The detailed string representation.
| RETURNS | DESCRIPTION |
|---|---|
str
|
The private key data id as a repr string.
TYPE:
|
__str__
¶
The hex string representation.
| RETURNS | DESCRIPTION |
|---|---|
str
|
The private key data id as a hex string.
TYPE:
|
to_hex
¶
Get the hex string representation.
| RETURNS | DESCRIPTION |
|---|---|
str
|
The private key data id as a hex string.
TYPE:
|