Class KeylessPublicKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class KeylessPublicKey : PublicKey
- Inheritance
-
KeylessPublicKey
- Inherited Members
-
Constructors
KeylessPublicKey(string, byte[])
public KeylessPublicKey(string iss, byte[] idCommitment)
Parameters
iss
string
idCommitment
byte[]
KeylessPublicKey(string, string)
public KeylessPublicKey(string iss, string idCommitment)
Parameters
iss
string
idCommitment
string
KeylessPublicKey(string, string, string, string, byte[])
public KeylessPublicKey(string iss, string uidKey, string uidVal, string aud, byte[] pepper)
Parameters
iss
string
uidKey
string
uidVal
string
aud
string
pepper
byte[]
KeylessPublicKey(string, string, string, string, string)
public KeylessPublicKey(string iss, string uidKey, string uidVal, string aud, string pepper)
Parameters
iss
string
uidKey
string
uidVal
string
aud
string
pepper
string
Fields
ID_COMMITMENT_LENGTH
public static readonly int ID_COMMITMENT_LENGTH
Field Value
- int
Iss
public readonly string Iss
Field Value
- string
Properties
Value
public override Hex Value { get; }
Property Value
- Hex
Methods
Deserialize(Deserializer)
public static KeylessPublicKey Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- KeylessPublicKey
FromJwt(string, byte[], string)
public static KeylessPublicKey FromJwt(string jwt, byte[] pepper, string uidKey = "sub")
Parameters
jwt
string
pepper
byte[]
uidKey
string
Returns
- KeylessPublicKey
FromJwt(string, string, string)
public static KeylessPublicKey FromJwt(string jwt, string pepper, string uidKey = "sub")
Parameters
jwt
string
pepper
string
uidKey
string
Returns
- KeylessPublicKey
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
s
Serializer
ToByteArray()
public override byte[] ToByteArray()
Returns
- byte[]
VerifySignature(byte[], Signature)
public override bool VerifySignature(byte[] message, Signature signature)
Parameters
message
byte[]
signature
Signature
Returns
- bool