Class PublicKeyRecipient
java.lang.Object
org.apache.pdfbox.pdmodel.encryption.PublicKeyRecipient
Represents a recipient in the public key protection policy.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the access permission granted to the recipient.getX509()
Returns the X509 certificate of the recipient.void
setPermission
(AccessPermission permissions) Set the access permission granted to the recipient.void
setX509
(X509Certificate aX509) Set the X509 certificate of the recipient.
-
Field Details
-
x509
-
permission
-
-
Constructor Details
-
PublicKeyRecipient
public PublicKeyRecipient()
-
-
Method Details
-
getX509
Returns the X509 certificate of the recipient.- Returns:
- The X509 certificate
-
setX509
Set the X509 certificate of the recipient.- Parameters:
aX509
- The X509 certificate
-
getPermission
Returns the access permission granted to the recipient.- Returns:
- The access permission object.
-
setPermission
Set the access permission granted to the recipient.- Parameters:
permissions
- The permission to set.
-