GetPublicKeyRecipientGroupCount

Security and signatures

Description

Returns the number of distinct permission groups that will be encoded as CMS recipient envelopes

Syntax

Delphi

Function TPDFlib.GetPublicKeyRecipientGroupCount: Integer;

ActiveX

Function PDFlib::GetPublicKeyRecipientGroupCount() As Long

DLL

int DLGetPublicKeyRecipientGroupCount(int InstanceID);

Return values

The number of distinct recipient permission masks, or zero when no groups are configured

Remarks

Recipients sharing the same permissions are combined into one CMS envelope to reduce output size and key-derivation work

See also

GetPublicKeyRecipientCount, EncryptPublicKey