Struct PrivateKey
The private key for an Algorand account.
Assembly: cs.temp.dll.dll
Syntax
public struct PrivateKey : IEquatable<PrivateKey>, IByteArray
Properties
Item[Int32]
Declaration
public byte this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Length
Declaration
public int Length { get; }
Property Value
Methods
Equals(PrivateKey)
Declaration
public bool Equals(PrivateKey other)
Parameters
Returns
FromString(String)
Declaration
public static PrivateKey FromString(string keyString)
Parameters
Type |
Name |
Description |
String |
keyString |
|
Returns
GetUnsafePtr()
Declaration
public void *GetUnsafePtr()
Returns
Sign<T>(T)
Declaration
public Sig Sign<T>(T msg)
where T : IByteArray
Parameters
Type |
Name |
Description |
T |
msg |
|
Returns
Type Parameters
ToAddress()
Declaration
public Address ToAddress()
Returns
ToKeyPair()
Declaration
public Ed25519.KeyPair ToKeyPair()
Returns
Type |
Description |
Ed25519.KeyPair |
|
ToMnemonic()
Declaration
public Mnemonic ToMnemonic()
Returns
ToPublicKey()
Declaration
public Ed25519.PublicKey ToPublicKey()
Returns
Type |
Description |
Ed25519.PublicKey |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides