5.1 Lock/Unlock File
5.1.1 Lock File
lockedFilePath = bayunCore.lockFile("<sessionId>", <"filePath">)5.1.2 Lock File with encryption-policy
5.1.3 Unlock File
Last updated
lockedFilePath = bayunCore.lockFile("<sessionId>", <"filePath">)Last updated
from BayunCore import BayunEncryptionPolicy
from BayunCore import BayunKeyGenerationPolicy
encryptionPolicy = BayunEncryptionPolicy.Company
keyGenerationPolicy = BayunKeyGenerationPolicy.Static
filePath = "<file path>"
lockedFilePath = bayunCore.lockFile("<sessionId>", filePath, encryptionPolicy, keyGenerationPolicy, "<groupId>")unlockedFilePath = bayunCore.unlockFile("<sessionId>","<filePath>")