PasskeyAuthenticator
Namespace: IotaSdk
public class PasskeyAuthenticator : IPasskeyAuthenticator, System.IEquatable`1[[IotaSdk.PasskeyAuthenticator, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → PasskeyAuthenticator
Implements IPasskeyAuthenticator, IEquatable<PasskeyAuthenticator>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
PasskeyAuthenticator(UInt64)
public PasskeyAuthenticator(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
AuthenticatorData()
public Byte[] AuthenticatorData()
Returns
Challenge()
The parsed challenge message for this passkey signature.
This is parsed by decoding the base64url data from the client_data_json.challenge field.
public Byte[] Challenge()
Returns
ClientDataJson()
public string ClientDataJson()
Returns
DeriveAddress()
Derive the Address of the passkey that produced this authenticator.
See PasskeyPublicKey::derive_address.
public Address DeriveAddress()
Returns
PublicKey()
The passkey public key.
public PasskeyPublicKey PublicKey()
Returns
Signature()
The passkey signature.
public SimpleSignature Signature()
Returns
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToDisplayString()
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()
Returns
Exceptions
Equals(PasskeyAuthenticator)
public bool Equals(PasskeyAuthenticator? other)
Parameters
other PasskeyAuthenticator?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static PasskeyAuthenticator FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static PasskeyAuthenticator FromJson(string json)
Parameters
json String