Struct solana_sdk::signer::keypair::Keypair [−][src]
pub struct Keypair(_);
Expand description
A vanilla Ed25519 key pair
Implementations
Constructs a new, random Keypair
using a caller-proveded RNG
Recovers a Keypair
from a byte array
Recovers a Keypair
from a base58-encoded string
Returns this Keypair
as a base58-encoded string
Trait Implementations
Infallibly gets the implementor’s public key. Returns the all-zeros
Pubkey
if the implementor has none. Read more
Fallibly gets the implementor’s public key
Infallibly produces an Ed25519 signature over the provided message
bytes. Returns the all-zeros Signature
if signing is not possible. Read more
Fallibly produces an Ed25519 signature over the provided message
bytes.