Package com.pd4ml.pdf.encryption
Class PublicKeyRecipient
- java.lang.Object
-
- com.pd4ml.pdf.encryption.PublicKeyRecipient
-
public class PublicKeyRecipient extends java.lang.Object
Represents a recipient in the public key protection policy.- Author:
- Benoit Guillon
- See Also:
PublicKeyProtectionPolicy
-
-
Constructor Summary
Constructors Constructor Description PublicKeyRecipient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessPermission
getPermission()
Returns the access permission granted to the recipient.java.security.cert.X509Certificate
getX509()
Returns the X509 certificate of the recipient.void
setPermission(AccessPermission permissions)
Set the access permission granted to the recipient.void
setX509(java.security.cert.X509Certificate aX509)
Set the X509 certificate of the recipient.
-
-
-
Method Detail
-
getX509
public java.security.cert.X509Certificate getX509()
Returns the X509 certificate of the recipient.- Returns:
- The X509 certificate
-
setX509
public void setX509(java.security.cert.X509Certificate aX509)
Set the X509 certificate of the recipient.- Parameters:
aX509
- The X509 certificate
-
getPermission
public AccessPermission getPermission()
Returns the access permission granted to the recipient.- Returns:
- The access permission object.
-
setPermission
public void setPermission(AccessPermission permissions)
Set the access permission granted to the recipient.- Parameters:
permissions
- The permission to set.
-
-