1 13 14 package org.ejbca.core.model.hardtoken.profiles; 15 16 import java.awt.print.Printable ; 17 import java.awt.print.PrinterException ; 18 import java.io.IOException ; 19 20 import org.ejbca.core.model.ra.UserDataVO; 21 22 23 24 25 26 27 33 34 public interface IPINEnvelopeSettings { 35 36 37 40 public static int PINENVELOPETYPE_NONE = 0; 41 44 public static int PINENVELOPETYPE_GENERALENVELOBE = 1; 45 46 49 public abstract int getPINEnvelopeType(); 50 51 54 public abstract void setPINEnvelopeType(int pinenvelopetype); 55 56 59 public abstract String getPINEnvelopeTemplateFilename(); 60 61 64 public abstract void setPINEnvelopeTemplateFilename(String filename); 65 66 69 public abstract String getPINEnvelopeData(); 70 71 74 public abstract void setPINEnvelopeData(String data); 75 76 79 public abstract int getNumberOfPINEnvelopeCopies(); 80 81 84 public abstract void setNumberOfPINEnvelopeCopies(int copies); 85 86 89 public abstract int getVisualValidity(); 90 91 94 public abstract void setVisualValidity(int validity); 95 96 100 public abstract Printable printPINEnvelope(UserDataVO userdata, 101 String [] pincodes, String [] pukcodes, 102 String hardtokensn, String copyoftokensn) 103 throws IOException , PrinterException ; 104 } 105 106 | Popular Tags |