-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7cf73a4
commit 0e3953b
Showing
14 changed files
with
199 additions
and
53 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
id: did-comm.ididcommoptions.alg | ||
title: IDIDCommOptions.alg property | ||
hide_title: true | ||
--- | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
## IDIDCommOptions.alg property | ||
|
||
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
Optional key wrapping algorithm to use. Defaults to 'ECDH-ES+A256KW' | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
alg?: 'ECDH-ES+A256KW' | 'ECDH-1PU+A256KW' | 'ECDH-ES+XC20PKW' | 'ECDH-1PU+XC20PKW'; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
id: did-comm.ididcommoptions.enc | ||
title: IDIDCommOptions.enc property | ||
hide_title: true | ||
--- | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
## IDIDCommOptions.enc property | ||
|
||
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
Optional content encryption algorithm to use. Defaults to 'A256GCM' | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
enc?: 'XC20P' | 'A256GCM' | 'A256CBC-HS512'; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
id: utils.converted25519privatekeytox25519 | ||
title: convertEd25519PrivateKeyToX25519() function | ||
hide_title: true | ||
--- | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
## convertEd25519PrivateKeyToX25519() function | ||
|
||
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
Converts Ed25519 private keys to X25519 | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export declare function convertEd25519PrivateKeyToX25519(privateKey: Uint8Array): Uint8Array | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| ---------- | ---------- | ------------------------------------------------------------------------------------------------------- | | ||
| privateKey | Uint8Array | <p>The bytes of an Ed25519P private key</p><p>This API may change without a BREAKING CHANGE notice.</p> | | ||
|
||
**Returns:** | ||
|
||
Uint8Array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
id: utils.converted25519publickeytox25519 | ||
title: convertEd25519PublicKeyToX25519() function | ||
hide_title: true | ||
--- | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
## convertEd25519PublicKeyToX25519() function | ||
|
||
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
Converts Ed25519 public keys to X25519 | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export declare function convertEd25519PublicKeyToX25519(publicKey: Uint8Array): Uint8Array | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ---------- | ------------------------------------------------------------------------------------------------------ | | ||
| publicKey | Uint8Array | <p>The bytes of an Ed25519P public key</p><p>This API may change without a BREAKING CHANGE notice.</p> | | ||
|
||
**Returns:** | ||
|
||
Uint8Array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.