[−][src]Trait sawtooth_sdk::signing::PrivateKey
A private key instance. The underlying content is dependent on implementation.
Required methods
fn get_algorithm_name(&self) -> &str
Returns the algorithm name used for this private key.
fn as_hex(&self) -> String
Return the private key encoded as a hex string.
fn as_slice(&self) -> &[u8]
Return the private key bytes.