1 50 51 package com.lowagie.text.pdf; 52 53 import java.security.cert.Certificate ; 54 55 public class PdfPublicKeyRecipient { 56 57 private Certificate certificate = null; 58 59 private int permission = 0; 60 61 protected byte[] cms = null; 62 63 public PdfPublicKeyRecipient(Certificate certificate, int permission) 64 { 65 this.certificate = certificate; 66 this.permission = permission; 67 } 68 69 public Certificate getCertificate() { 70 return certificate; 71 } 72 73 public int getPermission() { 74 return permission; 75 } 76 77 protected void setCms(byte[] cms) { 78 this.cms = cms; 79 } 80 81 protected byte[] getCms() { 82 return cms; 83 } 84 } 85 | Popular Tags |