Package-level declarations

Types

Link copied to clipboard
sealed class DidCreationResult

Sealed result type for DID creation operations.

Link copied to clipboard

Result of creating a DID and extracting the first verification key id (convenience API).

Link copied to clipboard
sealed class DidResult

Sealed result type for DID operations.

Link copied to clipboard
value class HolderIdentity(val did: Did)

Holder identity - represents a credential holder.

Link copied to clipboard
value class IssuerIdentity(val did: Did)

Issuer identity - represents a credential issuer.

Link copied to clipboard
sealed class KeyIdResult

Sealed result of TrustWeave.getKeyIdResult(did).

Link copied to clipboard
sealed class PresentationResult

Result of creating a VerifiablePresentation via the TrustWeave presentation DSL.

Link copied to clipboard
sealed class RevocationResult

Sealed result of TrustWeave.revokeResult { }.

Link copied to clipboard
data class TrustAnchor(val did: Did, val metadata: TrustAnchorMetadata)

Trust anchor in a trust path.

Link copied to clipboard

Sealed result of TrustWeave.trustResult { }.

Link copied to clipboard
sealed class TrustPath

Trust path from verifier to issuer.

Link copied to clipboard
value class VerifierIdentity(val did: Did)

Verifier identity - represents a credential verifier.

Link copied to clipboard

Result type for wallet creation operations.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Ergonomic extension properties for VerificationResult.

Link copied to clipboard

Functions

Link copied to clipboard

Extract the credential from a successful VerificationResult, or throw with detailed error.

Extract the DID and document from a successful DidCreationResult, or throw with detailed error.

Extract Did and key id or throw with contextual IllegalStateException (convenience for examples/tests).

Unwraps KeyIdResult.Success or throws IllegalStateException carrying the failure reason.

Unwrap a successful presentation or throw TrustWeaveException.InvalidState with stable code values (PRESENTATION_ADAPTER_NOT_READY, PRESENTATION_INVALID_REQUEST, PRESENTATION_ADAPTER_ERROR).

Extract the wallet from a successful WalletCreationResult, or throw with detailed error.

Link copied to clipboard

Extract just the DID from a successful DidCreationResult, or throw with detailed error.

Link copied to clipboard

Extract just the document from a successful DidCreationResult, or throw with detailed error.