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

File: /SetaPDF/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()

public mixed SetaPDF_Core_SecHandler_PublicKey_Recipient::getCertificate ( void )

Get the certificate.

getPermissions()

public int SetaPDF_Core_SecHandler_PublicKey_Recipient::getPermissions ( void )

Get the permissions for this recipient.

setPermissions()

public void SetaPDF_Core_SecHandler_PublicKey_Recipient::setPermissions ( int $permissions )

Set the permissions for this recipient.

Parameters
$permissions : int