( algorithm: A )
| 15118 | * @since 4.0.0 |
| 15119 | */ |
| 15120 | export const KeyAgreementPrivateKey = <A extends KeyAgreement_.Algorithm>( |
| 15121 | algorithm: A |
| 15122 | ): KeyAgreementPrivateKey<A> => |
| 15123 | declareCryptoKey<KeyAgreement_.PrivateKey<A>>( |
| 15124 | "KeyAgreementPrivateKey", |
| 15125 | "KeyAgreement", |
| 15126 | "PrivateKey", |
| 15127 | KeyAgreement_.isPrivateKey, |
| 15128 | algorithm |
| 15129 | ) |
| 15130 | |
| 15131 | /** |
| 15132 | * Schema that decodes an X25519 private key into a |
no test coverage detected