Class PublicKeyRecipient


  • public class PublicKeyRecipient
    extends java.lang.Object
    Represents a recipient in the public key protection policy.
    Author:
    Benoit Guillon
    See Also:
    PublicKeyProtectionPolicy
    • 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PublicKeyRecipient

        public PublicKeyRecipient()
    • 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.