Class FederatedKeylessPublicKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class FederatedKeylessPublicKey : PublicKey
- Inheritance
-
FederatedKeylessPublicKey
- Inherited Members
-
Constructors
FederatedKeylessPublicKey(KeylessPublicKey, AccountAddress)
public FederatedKeylessPublicKey(KeylessPublicKey keylessPublicKey, AccountAddress jwkAddress)
Parameters
keylessPublicKey
KeylessPublicKey
jwkAddress
AccountAddress
FederatedKeylessPublicKey(string, byte[], AccountAddress)
public FederatedKeylessPublicKey(string iss, byte[] idCommitment, AccountAddress jwkAddress)
Parameters
iss
string
idCommitment
byte[]
jwkAddress
AccountAddress
FederatedKeylessPublicKey(string, string, AccountAddress)
public FederatedKeylessPublicKey(string iss, string idCommitment, AccountAddress jwkAddress)
Parameters
iss
string
idCommitment
string
jwkAddress
AccountAddress
FederatedKeylessPublicKey(string, string, string, string, byte[], AccountAddress)
public FederatedKeylessPublicKey(string iss, string uidKey, string uidVal, string aud, byte[] pepper, AccountAddress jwkAddress)
Parameters
iss
string
uidKey
string
uidVal
string
aud
string
pepper
byte[]
jwkAddress
AccountAddress
FederatedKeylessPublicKey(string, string, string, string, string, AccountAddress)
public FederatedKeylessPublicKey(string iss, string uidKey, string uidVal, string aud, string pepper, AccountAddress jwkAddress)
Parameters
iss
string
uidKey
string
uidVal
string
aud
string
pepper
string
jwkAddress
AccountAddress
Fields
KeylessPublicKey
public readonly KeylessPublicKey KeylessPublicKey
Field Value
- KeylessPublicKey
Properties
Value
public override Hex Value { get; }
Property Value
- Hex
Methods
Deserialize(Deserializer)
public static FederatedKeylessPublicKey Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- FederatedKeylessPublicKey
FromJwt(string, byte[], AccountAddress, string)
public static FederatedKeylessPublicKey FromJwt(string jwt, byte[] pepper, AccountAddress jwkAddress, string uidKey = "sub")
Parameters
jwt
string
pepper
byte[]
jwkAddress
AccountAddress
uidKey
string
Returns
- FederatedKeylessPublicKey
FromJwt(string, string, AccountAddress, string)
public static FederatedKeylessPublicKey FromJwt(string jwt, string pepper, AccountAddress jwkAddress, string uidKey = "sub")
Parameters
jwt
string
pepper
string
jwkAddress
AccountAddress
uidKey
string
Returns
- FederatedKeylessPublicKey
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