SetaPDF_Core_SecHandler_PublicKey_Recipient Class representing a recipient of a public-key encrypted PDF document.

File: /SetaPDF v2/Core/SecHandler/PublicKey/Recipient.php

Class hierarchy

Summary

Properties

$_certificate

The certificate/public key for this recipient.

See

$_permissions

The permissions for this recipient.


Methods

__construct()

public SetaPDF_Core_SecHandler_PublicKey_Recipient::__construct (
mixed $certificate [, int $permissions = 0 ]
)

The constructor.

Parameters
$certificate : mixed

The certificate of the recipient. See http://php.net/manual/en/openssl.certparams.php for further details.

$permissions : int
 

getCertificate()

Get the certificate.

getPermissions()

Get the permissions for this recipient.

setPermissions()

Set the permissions for this recipient.

Parameters
$permissions : int