Documentation ¶
Overview ¶
Package aries enables Go developers to build solutions based on the Hyperledger Aries project (https://www.hyperledger.org/projects/aries).
Packages for end developer usage ¶
pkg/framework/aries: The main package of the Aries Framework. This package enables creation of context based on provider options. This context is used by the client packages listed below. Reference: https://pkg.go.dev/github.com/hyperledger/aries-framework-go/pkg/framework/aries
pkg/client/didexchange: Provides did exchange protocol through SDK. Reference: https://pkg.go.dev/github.com/hyperledger/aries-framework-go/pkg/client/didexchange
pkg/controller/restapi/operation/didexchange: Provides did exchange protocol through restapi. Reference: https://pkg.go.dev/github.com/hyperledger/aries-framework-go/pkg/controller/restapi/operation/didexchange
Basic workflow
- Instantiate a aries instance using a provider options.
- Create a context using your aries instance.
- Create a client instance using its New func, passing the context.
- Use the funcs provided by each client to create your solution!
- Call aries.Close() to release resources.
Directories ¶
Path | Synopsis |
---|---|
pkg
|
|
client/didexchange
Package didexchange enables relationship between two agents via DID Exchange Protocol.
|
Package didexchange enables relationship between two agents via DID Exchange Protocol. |
client/introduce
Package introduce is responsible for the introduction between agents.
|
Package introduce is responsible for the introduction between agents. |
client/issuecredential
Package issuecredential provides support for the Issue Credential Protocol 2.0: https://github.com/hyperledger/aries-rfcs/blob/master/features/0453-issue-credential-v2/README.md.
|
Package issuecredential provides support for the Issue Credential Protocol 2.0: https://github.com/hyperledger/aries-rfcs/blob/master/features/0453-issue-credential-v2/README.md. |
client/mediator
Package mediator enables the agent to register with the router.
|
Package mediator enables the agent to register with the router. |
client/messaging
Package messaging enables the agent to perform many messaging features.
|
Package messaging enables the agent to perform many messaging features. |
client/outofband
Package outofband provides support for the Out-of-Band protocols: https://github.com/hyperledger/aries-rfcs/blob/master/features/0434-outofband/README.md.
|
Package outofband provides support for the Out-of-Band protocols: https://github.com/hyperledger/aries-rfcs/blob/master/features/0434-outofband/README.md. |
client/presentproof
Package presentproof provides support for the Present Proof Protocol 2.0: https://github.com/hyperledger/aries-rfcs/blob/master/features/0454-present-proof-v2/README.md.
|
Package presentproof provides support for the Present Proof Protocol 2.0: https://github.com/hyperledger/aries-rfcs/blob/master/features/0454-present-proof-v2/README.md. |
crypto/tinkcrypto
Package tinkcrypto provides the default implementation of the common pkg/common/api/crypto.Crypto interface and the SPI pkg/framework/aries.crypto interface It uses github.com/tink/go crypto primitives
|
Package tinkcrypto provides the default implementation of the common pkg/common/api/crypto.Crypto interface and the SPI pkg/framework/aries.crypto interface It uses github.com/tink/go crypto primitives |
crypto/tinkcrypto/primitive/composite/ecdh
Package ecdh provides implementations of payload encryption using ECDH-ES/1PU KW key wrapping with AEAD primitives.
|
Package ecdh provides implementations of payload encryption using ECDH-ES/1PU KW key wrapping with AEAD primitives. |
didcomm/messaging
Package messaging provides message service features which enables agent framework to handle any incoming DIDComm message based on their type and purpose.
|
Package messaging provides message service features which enables agent framework to handle any incoming DIDComm message based on their type and purpose. |
didcomm/messaging/msghandler
Package msghandler dynamically maintains the list of registered message services.
|
Package msghandler dynamically maintains the list of registered message services. |
didcomm/messaging/service/basic
Package basic provide basic message protocol features Any incoming message of type "https://didcomm.org/basicmessage/1.0/message" can be handled by registering `basic.MessageService`.
|
Package basic provide basic message protocol features Any incoming message of type "https://didcomm.org/basicmessage/1.0/message" can be handled by registering `basic.MessageService`. |
didcomm/messaging/service/http
Package http provides http-over-didcomm message service features.
|
Package http provides http-over-didcomm message service features. |
doc/signature/suite/ecdsasecp256k1signature2019
Package ecdsasecp256k1signature2019 implements the EcdsaSecp256k1Signature2019 signature suite for the Linked Data Signatures specification (https://w3c-dvcg.github.io/lds-ecdsa-secp256k1-2019/).
|
Package ecdsasecp256k1signature2019 implements the EcdsaSecp256k1Signature2019 signature suite for the Linked Data Signatures specification (https://w3c-dvcg.github.io/lds-ecdsa-secp256k1-2019/). |
doc/signature/suite/ed25519signature2018
Package ed25519signature2018 implements the Ed25519Signature2018 signature suite for the Linked Data Signatures [LD-SIGNATURES] specification.
|
Package ed25519signature2018 implements the Ed25519Signature2018 signature suite for the Linked Data Signatures [LD-SIGNATURES] specification. |
doc/signature/suite/jsonwebsignature2020
Package jsonwebsignature2020 implements the JsonWebSignature2020 signature suite for the Linked Data Signatures specification (https://github.com/transmute-industries/lds-jws2020).
|
Package jsonwebsignature2020 implements the JsonWebSignature2020 signature suite for the Linked Data Signatures specification (https://github.com/transmute-industries/lds-jws2020). |
doc/verifiable
Package verifiable implements Verifiable Credential and Presentation data model (https://www.w3.org/TR/vc-data-model).
|
Package verifiable implements Verifiable Credential and Presentation data model (https://www.w3.org/TR/vc-data-model). |
framework/aries
Package aries provides a pluggable dependency framework, where implementors can customize primitives via Service Provider Interfaces (SPIs).
|
Package aries provides a pluggable dependency framework, where implementors can customize primitives via Service Provider Interfaces (SPIs). |
internal/gomocks/client/introduce
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/client/issuecredential
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/client/outofband
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/client/presentproof
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/controller/webnotifier
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/common/service
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/dispatcher
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/messenger
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/protocol/introduce
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/protocol/issuecredential
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/protocol/middleware/issuecredential
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/protocol/middleware/presentproof
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/didcomm/protocol/presentproof
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/framework/aries/api/vdr
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/storage
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
internal/gomocks/store/verifiable
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
test
|
|