KeyknoxClientProtocol
@objc(VSSKeyknoxClientProtocol)
public protocol KeyknoxClientProtocol
Protocol for KeyknoxClient
See: KeyknoxClient for default implementation
-
Push value to Keyknox service
Throws
Depends on implementationDeclaration
Swift
@objc func pushValue(params: KeyknoxPushParams?, meta: Data, value: Data, previousHash: Data?) throws -> EncryptedKeyknoxValueParameters
paramsparams
metameta data
valueencrypted blob
previousHashhash of previous blob
Return Value
EncryptedKeyknoxValue
-
Pulls values from Keyknox service
Throws
Depends on implementationDeclaration
Swift
@objc func pullValue(params: KeyknoxPullParams?) throws -> EncryptedKeyknoxValueParameters
paramsPull params
Return Value
EncryptedKeyknoxValue
-
Get keys for given root
Throws
Depends on implementationDeclaration
Swift
@objc func getKeys(params: KeyknoxGetKeysParams) throws -> Set<String>Parameters
paramsGet keys params
Return Value
Array of keys
-
Resets Keyknox value (makes it empty)
Throws
Depends on implementationDeclaration
Swift
@objc func resetValue(params: KeyknoxResetParams?) throws -> DecryptedKeyknoxValueParameters
paramsReset params
Return Value
DecryptedKeyknoxValue
-
Deletes recipient
Throws
Depends on implementationDeclaration
Swift
@objc func deleteRecipient(params: KeyknoxDeleteRecipientParams) throws -> DecryptedKeyknoxValueParameters
paramsDelete recipient params
Return Value
DecryptedKeyknoxValue
KeyknoxClientProtocol Protocol Reference