• Main Page
  • Related Pages
  • Packages
  • Classes
  • Files
  • File List

crypto/NamedPublicKey.java

Go to the documentation of this file.
00001 
00002 package crypto;
00003 
00004 import java.security.PublicKey;
00005 import java.io.Serializable;
00006 
00007 /**
00008  *  Encapsulates a public key together with some comment
00009  *  (textual description) that describes it (like type, owner, time-stamp etc.)
00010  */
00011 public class NamedPublicKey implements Serializable
00012 {
00013     /**
00014      *  Implements java.io.Serializable interface
00015      */
00016     private static final long serialVersionUID = -1173558142358298160L;
00017     
00018     /**
00019      *  Encapsulated public key 
00020      */
00021     public PublicKey publicKey;
00022 
00023     /**
00024      *  The description of the public key, e.g. owner, timestamp etc.
00025      */
00026     public String comment;
00027     
00028     /**
00029      *  Constructs object 
00030      */
00031     public NamedPublicKey( PublicKey publicKey, String comment ) 
00032     {
00033         this.publicKey = publicKey;
00034         this.comment = comment;
00035     }
00036 }

Generated on Thu Dec 16 2010 14:44:42 for VoIP Kryptofon by  doxygen 1.7.2