PubSecEncryptOptions

PubSecEncryptOptions

Overview

PubSecEncryptOptions is a interface in Aspose.PDF FOSS for TypeScript.

Properties: algorithm, encryptMetadata, keyWrap, oaepHash, permissions, recipients.

Properties

NameTypeAccessDescription
recipients: PubSecRecipientCert[]ReadGets the recipients.
algorithm: 'aes256' | 'aes128' | 'rc4'ReadDocument cipher.
permissions: PermissionsReadDefault permissions for recipients without their own.
keyWrap: 'pkcs1' | 'oaep'ReadRSA key-transport padding for RSA recipients.
oaepHash: 'sha1' | 'sha256'ReadOAEP hash when keyWrap is ‘oaep’.
encryptMetadata: booleanReadEncrypt the document metadata stream.