StaticnewCreate new SSH agent parameters with default salt and specified key ID.
The SSH key identity (usually the key comment or public key fingerprint)
StaticnewCreate SSH agent parameters with custom salt and key ID.
The salt for key derivation
The SSH key identity
Returns the salt.
Returns the SSH key identity.
Returns the method index for CBOR encoding.
Derive a key using SSH agent and encrypt the content key.
Note: This method requires SSH agent support which is not yet implemented in this TypeScript port. Use an alternative key derivation method or implement SSH agent communication for your environment.
Derive a key using SSH agent and decrypt the content key.
Note: This method requires SSH agent support which is not yet implemented in this TypeScript port. Use an alternative key derivation method or implement SSH agent communication for your environment.
Get string representation.
Convert to CBOR. Format: [4, Salt, id: tstr]
Convert to CBOR binary data.
Staticfrom
SSH Agent parameters for key derivation.
This method uses an SSH agent daemon to derive encryption keys. The agent signs a challenge derived from the salt using the specified SSH key identity, and the signature is used to derive the encryption key.
Note: SSH agent communication requires platform-specific support and may not be available in all JavaScript environments. The lock/unlock methods will throw an error if SSH agent support is not available.