1 31 package org.objectweb.proactive.ext.security.crypto; 32 33 import java.io.*; 34 35 import java.util.*; 36 37 38 44 public class CertificateProperty implements Serializable { 45 private Date deliveryDate; 46 private Date expirationDate; 47 private byte[] randomData; 48 49 56 public CertificateProperty(Date deliveryDate, Date expirationDate) { 57 this.deliveryDate = deliveryDate; 58 this.expirationDate = expirationDate; 59 } 60 61 67 public void set_deliveryDate(long msSince1970) { 68 deliveryDate = new Date(msSince1970); 69 } 70 71 77 public void set_expirationDate(long msSince1970) { 78 expirationDate = new Date(msSince1970); 79 } 80 81 87 public Date get_deliveryDate() { 88 return deliveryDate; 89 } 90 91 97 public Date get_expirationDate() { 98 return expirationDate; 99 } 100 } 101 | Popular Tags |