Class Signer
Signer is a helper class that creates stellar_dotnet_sdk.xdr.SignerKey objects.
Inheritance
System.Object
Signer
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class Signer : object
Methods
Ed25519PublicKey(KeyPair)
Create
ed25519PublicKey
stellar_dotnet_sdk.xdr.SignerKey from
a Declaration
public static SignerKey Ed25519PublicKey(KeyPair keyPair)
Parameters
Type | Name | Description |
---|---|---|
KeyPair | keyPair |
Returns
stellar_dotnet_sdk.xdr.SignerKey
sdkxdr.SignerKey |
PreAuthTx(Transaction)
Create
preAuthTx
stellar_dotnet_sdk.xdr.SignerKey from
a stellar_dotnet_sdk.xdr.Transaction hash.
Declaration
public static SignerKey PreAuthTx(Transaction tx)
Parameters
Type | Name | Description |
---|---|---|
Transaction | tx |
Returns
stellar_dotnet_sdk.xdr.SignerKey
sdkxdr.SignerKey |
PreAuthTx(Transaction, Network)
Create
preAuthTx
stellar_dotnet_sdk.xdr.SignerKey from
a stellar_dotnet_sdk.xdr.Transaction hash.
Declaration
public static SignerKey PreAuthTx(Transaction tx, Network network)
Parameters
Type | Name | Description |
---|---|---|
Transaction | tx | |
Network | network |
Returns
stellar_dotnet_sdk.xdr.SignerKey
sdkxdr.SignerKey |
PreAuthTx(Byte[])
Create
preAuthTx
stellar_dotnet_sdk.xdr.SignerKey from
a transaction hash.
Declaration
public static SignerKey PreAuthTx(byte[] hash)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | hash |
Returns
stellar_dotnet_sdk.xdr.SignerKey
sdkxdr.SignerKey |
Sha256Hash(Byte[])
Create
sha256Hash
stellar_dotnet_sdk.xdr.SignerKey from
a sha256 hash of a preimage.
Declaration
public static SignerKey Sha256Hash(byte[] hash)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | hash |
Returns
stellar_dotnet_sdk.xdr.SignerKey
sdkxdr.SignerKey |
SignedPayload(SignedPayloadSigner)
Create SignerKey from SignedPayloadSigner
Declaration
public static SignerKey SignedPayload(SignedPayloadSigner signedPayloadSigner)
Parameters
Type | Name | Description |
---|---|---|
SignedPayloadSigner | signedPayloadSigner |
Returns
stellar_dotnet_sdk.xdr.SignerKey
|