Companion

Functions

Link copied to clipboard

Current implemented algorithms, including opt-in and currently unavailable entries. Never cached across provider changes.

Link copied to clipboard
fun resolve(preset: CryptoPolicyPreset = CryptoPolicyPreset.DEFAULT, overrides: Map<AlgorithmCategory, String> = emptyMap(), minimumRsaBits: Int? = null, minimumDhBits: Int? = null): SshCryptoPolicy

Resolve a preset or DEFAULT plus custom expressions. Unsupported positive entries are preserved by the caller and skipped here. Size overrides are for Custom and must not be supplied with a non-DEFAULT preset.

Link copied to clipboard

Check expression syntax without checking availability. Unknown names are intentionally accepted.