StandardSecurityHandler

StandardSecurityHandler

Overview

StandardSecurityHandler เป็นคลาสใน Aspose.PDF FOSS สําหรับ Java.

การจัดการความปลอดภัยแบบมาตรฐาน ยืนยันคําผ่านและผลิตกุญแจการเข้ารหัส.

หมวดนี้ให้ 7 วิธีในการทํางานกับวัตถุ StandardSecurityHandler ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: StandardSecurityHandler, authenticate, authenticateOwnerPassword, authenticateUserPassword, getEncryptionDict, getEncryptionKey, isAuthenticated. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: authenticated, encryptionDict, encryptionKey.

Properties

NameTypeAccessDescription
authenticatedbooleanReadได้รับการยืนยันตัวจริง.
encryptionKeybyte[]Readได้รหัสเข้าระบบได้.
encryptionDictPDFEncryptionDictReadได้คําสั่งการเข้ารหัส.

Methods

SignatureDescription
StandardSecurityHandler(encDict: PDFEncryptionDict, documentId: byte[])สร้างตัวจัดการความปลอดภัยสําหรับวัสดุการเข้ารหัสที่ให้ไว้.
authenticate(password: byte[])booleanพยายามทําการรับรองด้วยรหัสที่ให้ไว้.
authenticateUserPassword(password: byte[])booleanพยายามการรับรองด้วยใช้เพียงสาขา user-password.
authenticateOwnerPassword(password: byte[])booleanพยายามการรับรองด้วยใช้เพียงสาขาของเจ้าของ-password.
isAuthenticated()booleanกลับ true หากการยืนยันเป็นที่ตั้ง.
getEncryptionKey()byte[]ส่งรหัสเข้าระบบกลับ.
getEncryptionDict()PDFEncryptionDictส่งกลับคําสั่งการเข้ารหัส.

See Also

 ภาษาไทย