Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Protocol

ProfileResolveResult Class

Contains an account profile and its signer's device certificate.

public sealed record ProfileResolveResult : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.ProfileResolveResult>

Inheritance System.Object → ProtocolModel → ProfileResolveResult

Implements System.IEquatable<ProfileResolveResult>

Properties

ProfileResolveResult.Profile Property

The resolved signed account profile.

public Meshline.Models.Protocol.AccountProfile Profile { get; init; }

Property Value

AccountProfile

ProfileResolveResult.SignerCertificate Property

The device certificate supplied as evidence for the associated payload's signature.

public Meshline.Models.Protocol.DeviceCertificate SignerCertificate { get; init; }

Property Value

DeviceCertificate

Methods

ProfileResolveResult.Validate(NetworkContext) Method

Validates the nested account profile and signer certificate.

public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context);

Parameters

context NetworkContext

The required network context for identity and signature validation.

Returns

ProtocolViolation
The first detected protocol violation, or null if the implemented checks pass.

Exceptions

System.ArgumentNullException
context is null.

System.Security.Cryptography.CryptographicException
The cryptographic provider cannot perform certificate signature verification.

Remarks

Account matching, profile signature verification, and signer authorization must be checked separately.