(algorithm: A)
| 14926 | * @since 4.0.0 |
| 14927 | */ |
| 14928 | export const SignaturePrivateKey = <A extends Signature_.Algorithm>(algorithm: A): SignaturePrivateKey<A> => |
| 14929 | declareCryptoKey<Signature_.PrivateKey<A>>( |
| 14930 | "SignaturePrivateKey", |
| 14931 | "Signature", |
| 14932 | "PrivateKey", |
| 14933 | Signature_.isPrivateKey, |
| 14934 | algorithm |
| 14935 | ) |
| 14936 | |
| 14937 | /** |
| 14938 | * Schema that decodes an Ed25519 or ML-DSA seed into a `Signature.PrivateKey`. |
no test coverage detected