Skip to main content

README

@hyperledger/identus-sdk v7.0.0


@hyperledger/identus-sdk / overview

overview

Namespaces

NamespaceDescription
Connection-
DIDLinkDeclaration merge to group Types
Domain-
Payload-
PeerDID-
Plugins-
PlutoPluto implementation
Utils-

Enumerations

EnumerationDescription
AnonCredsCredentialProperties-
JWT_VC_PROPS-
JWT_VP_PROPS-
ListenerKey-
SDJWT_VP_PROPS-

Classes

ClassDescription
AgentEdge agent implementation
AgentBackup-
AgentContextContext is provided to running tasks it optimistically provides access to Modules
AnonCredsCredentialStorable define properties a Domain object must implement to be compatible with Pluto
ApiImplImplement API using built in fetch
ApolloApollo defines the set of cryptographic operations.
BackupManagerBackupManager handle the different versions of backup and restore
BaseRepositoryBaseRepository
CancellableTask-
CastorCastor is a powerful and flexible library for working with DIDs. Whether you are building a decentralised application or a more traditional system requiring secure and private identity management, Castor provides the tools and features you need to easily create, manage, and resolve DIDs.
ConnectionsManagerConnectionsManager is responsible for handling Connections and Mediators
CreateOOBOfferTask class for creating out-of-band (OOB) credential offer invitations.
CreateOOBPresentationRequestTask class for creating out-of-band (OOB) presentation request invitations.
CreatePresentation-
CreatePresentationRequest-
CreatePrismDIDHandle the creation of a PrismDID
CredentialMetadataRepositoryMapperRepository
CredentialRepositoryMapperRepository
DIDCommWrapper-
DIDKeyLinkRepositoryLinkRepository
DIDLinkRepositoryLinkRepository
DIDRepositoryMapperRepository
EventsManagerAn extension for the Edge agent that gives it capability of creating listeners for specific events and also emitting or notifying any listener available with the new event.
ForwardMessage-
JobManager-
JWTused to enable Modules to propagate the Context and have access to runTask
JWTCredentialStorable define properties a Domain object must implement to be compatible with Pluto
KeyRepositoryMapperRepository
LinkRepositoryLinkRepository
LinkSecretRepositoryMapperRepository
MapperRepositoryMapperRepository
MercuryMercury is a powerful and flexible library for working with decentralized identifiers and secure communications protocols. Whether you are a developer looking to build a secure and private messaging app or a more complex decentralized system requiring trusted peer-to-peer connections, Mercury provides the tools and features you need to establish, manage, and secure your communications easily.
MessageRepositoryMapperRepository
PeerDID-
PeerDIDServiceProvides functionality to transfrom peerDIDServices from our interfaces into DIDComm module ones
PKInstanceA Task encapsulates a unit of work
PluginProvide interface to augment the SDK.
PluginManager-
PlutoPluto is a storage interface describing storage requirements of the edge agents which will be implemented using this SDK. Implement this interface using your preferred underlying storage technology, most appropriate for your use case.
RunProtocolFind and execute a task registered by plugins for the given pid (protocol identifier)
SDJWTused to enable Modules to propagate the Context and have access to runTask
SDJWTCredentialStorable define properties a Domain object must implement to be compatible with Pluto

Interfaces

InterfaceDescription
Args_RequestCredentialJWT-
Args_RequestCredentialSDJWT-
ConnectionDefine the structure of a Connection
CreateOOBOfferArgsArguments for creating an out-of-band (OOB) offer invitation
CreateOOBPresentationRequestArgsArguments for creating an out-of-band (OOB) presentation request invitation
CreatePresentationArgsAsyncronously create a verifiablePresentation from a valid stored verifiableCredential This is used when the verified requests a specific verifiable credential, this will create the actual instance of the presentation which we can share with the verifier.
CreatePresentationRequestArgs-
CreatePrismDIDArgs-
CredentialDefinition for Storable Credential model Represents Credential
CredentialMetadataDefinition for CredentialMetadata model Represents CredentialMetadata
DIDDefinition for DID model Represents DID
DIDCommProtocol-
DIDKeyLinkDefinition for DID -> Key relationships
DIDLinkDefinition for DID -> DID relationships
ForwardMessageBody-
IArgsRunProtocol exists to bridge the gap between the strong coupling to DIDComm messages and abstracting to Protocols
IBackupTask-
IRestoreTask-
JWTCredentialPayload-
JWTPresentationPayload-
KeyDefinition for Key model Represents PrivateKey
MessageDefinition for Message model Represents Message
PayloadGeneral purpose struct to pass data around
PeerDIDEncoded-
PKInstanceArgs-
QueryOperators-
SchemaGenerator-

Type Aliases

Type AliasDescription
AgentOptions-
Args_CredentialIssue-
Args_CredentialOffer-
Args_Message-
Args_PresentationRequest-
Args_PresentationVerify-
Args_RequestCredential-
Args_RevocationCheck-
Args_Unknown-
BackupAgentdefine Agent requirements for Backup
BackupExclude-
BackupOptions-
CollectionCreate-
CollectionList-
ConnectionEventArg-
EventCallback-
EventCallbacks-
ExtractModelProperties-
ExtraResolver-
InvitationType-
Join-
KeysFor-
KeysOf-
MasterKey-
MessageEventArg-
MigrationStrategies-
MigrationStrategy-
ModelDefine common properties
ModelOptionalKeys-
ModelPropertyNames-
ModelRequiredKeys-
OptionalId-
OptionalKeys-
OptionalTypeToSchemaType-
Paths-
PlutoRepositories-
Prev-
PropertyType-
PropertyTypes-
ProtocolTypeTemporary workaround to smooth transition of internal module splitting and end-user consumables ProtocolType is a merging of all the supported ProtocolIds These have been split internally into Didcomm and OEA modules But we can hide that from our users until full support exists
QueryQuery type for Pluto
QueryNoLimit-
QuerySelector-
QuerySelectorAndIndex-
QuerySortDirection-
QuerySortPart-
RequiredKeys-
RequiredTypeToSchemaType-
RevokeEventArg-
RunProtocolArgs-
StringKeys-
Task-
TaskContext-
TypedSchema-
WithId-

Variables

VariableDescription
AnonCredsRecoveryId-
CredentialMetadataSchema-
CredentialMigration-
CredentialSchema-
DIDKeyLinkSchema-
DIDLinkSchema-
DIDSchema-
JWTVerifiableCredentialRecoveryId-
KeySchema-
MessageSchema-
ProtocolType-
SDJWTVerifiableCredentialRecoveryId-
Tasks-

Functions

FunctionDescription
makeCollections-
repositoryFactoryFactory fn to instantiate all Repositories
schemaFactoryhelper for creating Schemas handle repetitive and improve type safety

References

BasicMessage

Re-exports BasicMessage


BasicMessageBody

Re-exports BasicMessageBody


CredentialFormat

Re-exports CredentialFormat


DIDCommConnection

Re-exports DIDCommConnection


HandshakeRequest

Re-exports HandshakeRequest


HandshakeRequestBody

Re-exports HandshakeRequestBody


IssueCredential

Re-exports IssueCredential


IssueCredentialBody

Re-exports IssueCredentialBody


KeyProperties

Re-exports KeyProperties


OfferCredential

Re-exports OfferCredential


OfferCredentialBody

Re-exports OfferCredentialBody


OutOfBandInvitation

Re-exports OutOfBandInvitation


OutOfBandInvitationBody

Re-exports OutOfBandInvitationBody


Presentation

Re-exports Presentation


PresentationBody

Re-exports PresentationBody


ProposePresentation

Re-exports ProposePresentation


ProposePresentationBody

Re-exports ProposePresentationBody


RequestCredential

Re-exports RequestCredential


RequestPresentation

Re-exports RequestPresentation


RequestPresentationBody

Re-exports RequestPresentationBody