Package-level declarations

Types

Link copied to clipboard
sealed class InternalNextMessage
Link copied to clipboard
class IssueCredentialProtocol(issuer: Issuer? = null, holder: Holder? = null, serviceEndpoint: String? = null, credentialScheme: ConstantIndex.CredentialScheme) : ProtocolStateMachine<IssueCredentialProtocolResult>

Use this class for exactly one instance of a protocol run.

Link copied to clipboard
class MessageWrapper(keyPairAdapter: KeyPairAdapter, jwsService: JwsService = DefaultJwsService(DefaultCryptoService(keyPairAdapter)), verifierJwsService: VerifierJwsService = DefaultVerifierJwsService())
Link copied to clipboard
sealed class NextMessage
Link copied to clipboard
class PresentProofProtocol(holder: Holder? = null, verifier: Verifier? = null, requestedClaims: Collection<String>? = null, credentialScheme: ConstantIndex.CredentialScheme, serviceEndpoint: String?, challengeForPresentation: String) : ProtocolStateMachine<PresentProofProtocolResult>

Use this class for exactly one instance of a protocol run.

Link copied to clipboard
Link copied to clipboard
abstract class ProtocolMessenger<T : ProtocolStateMachine<U>, U>(messageWrapper: MessageWrapper, createProtocolWhenNotActive: Boolean = true, signInitialMessage: Boolean = true, signFollowingMessages: Boolean = true, signAndEncryptFollowingMessages: Boolean = true, protocolRunManager: ProtocolRunManager<T, U> = ProtocolRunManager())

Allows for multiplexing of several active runs of a message protocol

Link copied to clipboard
class ProtocolRunManager<T : ProtocolStateMachine<U>, U>(timeoutDuration: Duration = 60.minutes)

Holds a list of protocol runs for ProtocolMessenger, handling concurrency with a lock, as well as cleaning up old (client did not send a message again) and finished runs.

Link copied to clipboard

Use this class for exactly one instance of a protocol run.

Link copied to clipboard
sealed class ReceivedMessage

Properties

Link copied to clipboard
val jsonSerializer: Json