Hierarchy

  • StiPdfSecurity

Index

Constructors

constructor

Properties

IDValue

IDValue: number[] = null

encryptionKey

encryptionKey: number[] = null

encryptionKeyLength

encryptionKeyLength: number = 0

keyLength

keyLength: StiPdfEncryptionKeyLength = StiPdfEncryptionKeyLength.Bit40

ownerExtendedValue

ownerExtendedValue: number[] = []

ownerValue

ownerValue: number[] = []

passwordOwner

passwordOwner: string = ""

passwordUser

passwordUser: string = ""

pdfService

pdfService: StiPdfExportService = null

permsValue

permsValue: number[] = []

securityFlags

securityFlags: number = 0

userExtendedValue

userExtendedValue: number[] = []

userValue

userValue: number[] = []

Static paddingString

paddingString: number[] = [0x28, 0xBF, 0x4E, 0x5E, 0x4E, 0x75, 0x8A, 0x41, 0x64, 0x00, 0x4E, 0x56, 0xFF, 0xFA, 0x01, 0x08,0x2E, 0x2E, 0x00, 0xB6, 0xD0, 0x68, 0x3E, 0x80, 0x2F, 0x0C, 0xA9, 0xFE, 0x64, 0x53, 0x69, 0x7A]

Methods

computingCryptoValues

encryptData

  • encryptData(data: number[], currentObjectNumber: number, currentGenerationNumber: number): number[]
  • Parameters

    • data: number[]
    • currentObjectNumber: number
    • currentGenerationNumber: number

    Returns number[]

getBytesUInt32

  • getBytesUInt32(uint: number): number[]
  • Parameters

    • uint: number

    Returns number[]

getBytesUint16

  • getBytesUint16(uint: number): number[]
  • Parameters

    • uint: number

    Returns number[]

renderEncodeRecord

Generated using TypeDoc