home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VPage / Java.bin / CLASSES.ZIP / java / security / KeyPair.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-07-08  |  617 b   |  20 lines

  1. package java.security;
  2.  
  3. public final class KeyPair {
  4.    private PrivateKey privateKey;
  5.    private PublicKey publicKey;
  6.  
  7.    public KeyPair(PublicKey var1, PrivateKey var2) {
  8.       this.publicKey = var1;
  9.       this.privateKey = var2;
  10.    }
  11.  
  12.    public PublicKey getPublic() {
  13.       return this.publicKey;
  14.    }
  15.  
  16.    public PrivateKey getPrivate() {
  17.       return this.privateKey;
  18.    }
  19. }
  20.