Skip to main content

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​

Byte[]

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​

Byte[]

ClientDataJson()​

public string ClientDataJson()

Returns​

String

DeriveAddress()​

Derive the Address of the passkey that produced this authenticator.

See PasskeyPublicKey::derive_address.

public Address DeriveAddress()

Returns​

Address

PublicKey()​

The passkey public key.

public PasskeyPublicKey PublicKey()

Returns​

PasskeyPublicKey

Signature()​

The passkey signature.

public SimpleSignature Signature()

Returns​

SimpleSignature

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

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​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException

Equals(PasskeyAuthenticator)​

public bool Equals(PasskeyAuthenticator? other)

Parameters​

other PasskeyAuthenticator?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean

FromBcs(Byte[])​

Create this type from BCS encoded bytes.

public static PasskeyAuthenticator FromBcs(Byte[] bcs)

Parameters​

bcs Byte[]

Returns​

PasskeyAuthenticator

Exceptions​

SdkFfiException

FromJson(String)​

Create this type from a JSON encoded string.

public static PasskeyAuthenticator FromJson(string json)

Parameters​

json String

Returns​

PasskeyAuthenticator

Exceptions​

SdkFfiException