Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ssi Changelog

## 5.3.0 -
### Added
- Add `IKeyAgreementKeyPair2020` export.

## 5.2.0 - 2025-10-15
### Added
- Add `identifier` property to `IOpenBadgeSubject` export.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ const vp = req.body.presentation as IVerifiablePresentation
* `IVerifiableCredential` and `IVerifiablePresentation`
* `IOpenBadgeCredentialV3` (for OBv3 VCs)
* `IDidCoreDocument` and its children, `IDidDocument_v1_0` and `IDidDocument_v1_1`
* `IKeyPair` and its children, such as `IVerificationKeyPair2020` and `IKeyAgreementKeyPair2020`
* `ISigner`
* ... others (see individual exports in `/src`)

## Contribute
Expand Down
8 changes: 7 additions & 1 deletion src/KeyPair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@ export interface IVerificationKeyPair2018 extends IPublicKey2018 {
}

export interface IPublicKey2020 extends IKeyPairCore {
// Used by Ed25519VerificationKey2020
// Used by Ed25519VerificationKey2020 and X25519KeyAgreementKey2020
publicKeyMultibase?: string
}

export interface IKeyAgreementKeyPair2020 extends IPublicKey2020 {
// Used by X25519KeyAgreementKey2020
privateKeyMultibase?: string
}

export interface IVerificationKeyPair2020 extends IPublicKey2020 {
// Used by Ed25519VerificationKey2020
privateKeyMultibase?: string
Expand Down