Skip to main content

Domain

@hyperledger/identus-sdk v8.0.0


@hyperledger/identus-sdk / overview / Domain

Domain

Namespaces

NamespaceDescription
AgentError-
ApolloError-
Backup-
CastorError-
CommonError-
DIDDocument-
ECConfig-
ExportableKeyDeclaration merge to contain key conversion functions
ImportableKey-
JWKJWK definitions based on https://www.iana.org/assignments/jose/jose.xhtml
JWT-
MercuryError-
Payload-
PEM-
Pluto-
PlutoError-
PolluxError-
Protocols-
Schema-
StartableDefine controls for managing entity lifecycle.
StorableKey-

Enumerations

EnumerationDescription
Curve-
JWT_ALG-
KeyProperties-
KeyTypes-
MessageDirection-
Numalgo2Prefix-
VerificationMaterialFormatDID-

Classes

ClassDescription
ApiError-
ApiRequest-
ApiResponse-
AttachmentDescriptor-
AxesArray-
BaseVerificationMethod-
CredentialStorable define properties a Domain object must implement to be compatible with Pluto
CredentialMetadataStorable define properties a Domain object must implement to be compatible with Pluto
DeprecatedDerivationPath-
DerivableKey-
DerivationAxis-
DerivationPathBase-
DIDStorable define properties a Domain object must implement to be compatible with Pluto
DIDDocument-
DIDPair-
DIDResolver-
DIDUrl-
InvitationIsInvalidError-
Key-
KeyPair-
LinkSecretStorable define properties a Domain object must implement to be compatible with Pluto
MessageStorable define properties a Domain object must implement to be compatible with Pluto
PrismDerivationPath-
PrismDID-
PrivateKeyStorable define properties a Domain object must implement to be compatible with Pluto
PublicKey-
SignableKey-
ValidationError-
VerifiableKey-
VerificationMaterialAgreement-
VerificationMaterialAuthentication-
VerificationMaterialPeerDIDWithAgreement-
VerificationMaterialPeerDIDWithAuthentication-
VerificationMethodTypeAgreement-
VerificationMethodTypeAuthentication-

Interfaces

InterfaceDescription
ApiApi Dependency
Apollo-
AttachmentBase64-
AttachmentHeader-
AttachmentJws-
AttachmentJwsData-
AttachmentLinkData-
BaseSchema-
CastorBuilding block for creating, resolving, and managing Decentralized Identifiers across multiple DID methods.
CtorConstructor for T
KeyCurve-
KeyRestorationKeyRestoration protocol defines methods for verifying and restoring cryptographic keys from raw data.
Mediator-
Mercury-
OptionsFactory options to customise export / import functions
PayloadGeneral purpose struct to pass data around
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.
ProvableCredential-
Seed-
SeedWords-
Signature-
StorableCredential-
StorableKey-
VerificationMaterialPeerDID-
VerificationMethodTypeDID-
VerificationMethodTypePeerDIDWithAgreement-
VerificationMethodTypePeerDIDWithAuthentication-

Type Aliases

Type AliasDescription
ArrayableT is either an Array or a single item
AttachmentData-
AttachmentJsonData-
Claim-
DerivationClass-
DerivationSchema-
ExportableKeyExportableKey defines the formats a crypographic key can be converted to Default is all
HttpMethod-
JsonObjConstruct a Type with a set of string Keys of type T
JsonString-
JWKJWK
KeyOptions-
MnemonicWordList-
Nilno value shorthand
NormalizeFlatten intersect to show single interface
OctetPublicKey-
PrismDIDKeysMaps PrismDIDKeyUsage member names to arrays of public keys. Used to assign keys to the correct verification relationships when creating a Prism DID.
PrismDIDKeyUsageType-
RequiredKeys-
RequiredPrismDIDKeys-
Schema-
VerificationMaterial-
VerificationMaterialPeerDIDType-

Variables

VariableDescription
AnonCredsRecoveryId-
asJsonObj-
credentialSchema definition for Backup V0.0.1
DeprecatedDerivationPathSchema-
did-
didpair-
isArrayisArray Typeguard - check a value is an Array
isEmptyisEmpty Logic - check a given value is considered empty empty depends on typeof value: - null - undefined - array: length = 0 - string: length = 0
isNilisNullish Typeguard - check a value is undefined or null
isObjectisObject Typeguard - check a value is an object in the conceptual sense not the JS sense excluding JS overlap with: null Arrays Functions
isStringisString TypeGuard to check a value is a string
JWTVerifiableCredentialRecoveryId-
key-
linksecret-
mediator-
message-
notEmptyStringnotEmptyString Typeguard + Logic - check a value is a string with contents
notNilnotNil Typeguard - check a value is neither undefined or null
PRISM_DID_METHOD-
PRISM_IDENTIFIER-
PRISM_WALLET_PURPOSE-
PrismDerivationPathSchema-
PrismDIDKeyUsageMirrors io.iohk.atala.prism.protos.KeyUsage from the auto-generated protobuf code. Defined locally to keep the proto namespace (which contains ES #private fields) out of the DTS rollup graph — rollup-plugin-dts cannot handle #private inside namespace class declarations.
revocationJsonldDocuments-
Schema-
SDJWTVerifiableCredentialRecoveryId-
validateSafevalidateSafe Typeguard - check a value matches a schema

Functions

FunctionDescription
asArrayasArray convert a value to an array
expectexpect assert a value is notNil and return the value typed as such panic otherwise
validatevalidate Type assertion - assert a value matches a schema

References

CredentialType

Re-exports CredentialType


PeerDID

Re-exports PeerDID


PeerDIDEncoded

Re-exports PeerDIDEncoded