setPassphraseRequired
fun setPassphraseRequired(required: Boolean, passphrase: String?, constraints: PassphraseConstraints?): SoftwareCreateKeySettings.Builder
Sets the passphrase required to use a key.
Return
the builder.
Parameters
required
whether a passphrase is required.
passphrase
the passphrase to use, must not be null if required is true.
constraints
constraints for the passphrase or null if not constrained.