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
referenceThe Key reference or nil
dfSpecificWhether 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
referenceThe Key reference or nil
dfSpecificWhether dfSpecific or not (only applicable when reference is set)
overwriteWhether to overwrite existing key. false = use existing when possible
outwhether to return the generated (or existing) Public Key