StandardSecurityHandler

StandardSecurityHandler

ภาพรวม

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

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

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

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
authenticatedbooleanอ่านรับค่าที่ได้รับการรับรอง.
encryptionKeybyte[]อ่านรับคีย์การเข้ารหัส.
encryptionDictPDFEncryptionDictอ่านรับพจนานุกรมการเข้ารหัส.

วิธีการ

Signatureคําอธิบาย
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ส่งกลับคําสั่งการเข้ารหัส.

ดูเช่นกัน

 ภาษาไทย