PassphraseConstraints
Enumeration used to convey constraints on passphrases and PINs.
This information is helpful for user interfaces when creating and validating passphrases.
Parameters
the minimum allowed length of the passphrase.
the maximum allowed length of the passphrase.
if true
, each character in the passphrase must be decimal digits (0-9).
Functions
Get whether the constraints define a fixed length entry, when minLength == maxLength. // TODO : fix CBOR processor so this function can be refactored into a public property: val isFixedLength: Boolean get() = minLength == maxLength currently, generates PassphraseConstraints_Cbor.kt that instantiates PassphraseConstraints with an invalid constructor signature, such as, "return PassphraseConstraints(isFixedLength, minLength, maxLength, requireNumerical)"