Interface: UpgradeSigningKeyInput
Defined in: migrate.ts:48
Input to Upgrader.upgradeSigningKey: an existing classical signing key pair and the post-quantum signature algorithm to add.
Properties
classicalAlgorithm?
optionalclassicalAlgorithm?:"Ed25519"|"P-256"|"P-384"
Defined in: migrate.ts:54
The classical algorithm of the key. Default Ed25519.
classicalPublic
classicalPublic:
Uint8Array
Defined in: migrate.ts:52
Raw classical public key. Ed25519: 32 bytes. P-256: 64-byte, P-384: 96-byte raw x ‖ y (no 0x04 tag).
classicalSecret
classicalSecret:
Uint8Array
Defined in: migrate.ts:50
Raw classical secret. Ed25519: 32 bytes. P-256 and P-384: the PKCS#8 PEM text bytes.
targetPqc?
optionaltargetPqc?:"ML-DSA-44"|"ML-DSA-65"|"ML-DSA-87"
Defined in: migrate.ts:56
Post-quantum signature algorithm to add. Default ML-DSA-65.