Class ZeroKnowledgeSignature
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class ZeroKnowledgeSignature : CertificateSignature
- Inheritance
-
ZeroKnowledgeSignature
- Inherited Members
-
Constructors
ZeroKnowledgeSignature(ZkProof, ulong, string?, string?, EphemeralSignature?)
public ZeroKnowledgeSignature(ZkProof proof, ulong expHorizonSecs, string? extraField = null, string? overrideAudVal = null, EphemeralSignature? trainingWheelSignature = null)
Parameters
proof
ZkProof
expHorizonSecs
ulong
extraField
string
overrideAudVal
string
trainingWheelSignature
EphemeralSignature
Fields
ExpHorizonSecs
public readonly ulong ExpHorizonSecs
Field Value
- ulong
public readonly string? ExtraField
Field Value
- string
OverrideAudVal
public readonly string? OverrideAudVal
Field Value
- string
Proof
public readonly ZkProof Proof
Field Value
- ZkProof
TrainingWheelSignature
public readonly EphemeralSignature? TrainingWheelSignature
Field Value
- EphemeralSignature
Methods
Deserialize(Deserializer)
public static ZeroKnowledgeSignature Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- ZeroKnowledgeSignature
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
s
Serializer
ToByteArray()
public override byte[] ToByteArray()
Returns
- byte[]