Last active
November 5, 2019 20:51
-
-
Save trevorfoskett/284f7de699d75715fff98c167870d829 to your computer and use it in GitHub Desktop.
Adding a policy object to Virtru encryption client.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const encryptParams = new Virtru.EncryptParamsBuilder() | |
.withArrayBufferSource(arrayBuffer) | |
.withDisplayFilename(`${docTitle}.pdf`) | |
.withPolicy(policy) | |
.withUsersWithAccess(authorizedUsers) | |
.build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment