GenerationMode
public enum GenerationMode
Asymmetric Key Pair Generation (GAKP) modes
-
No generation, just read the current (public) key
Declaration
Swift
case readOnly(reference: Key?, dfSpecific: Bool)
Parameters
reference
The Key reference or nil
dfSpecific
Whether dfSpecific or not (only applicable when reference is set)
-
Generate a new Key Pair for a given Key reference
Declaration
Swift
case generate(reference: Key?, dfSpecific: Bool, overwrite: Bool, out: Bool)
Parameters
reference
The Key reference or nil
dfSpecific
Whether dfSpecific or not (only applicable when reference is set)
overwrite
Whether to overwrite existing key. false = use existing when possible
out
whether to return the generated (or existing) Public Key