KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > security > interfaces > RSAKey


1 /*
2  * @(#)RSAKey.java 1.6 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7  
8 package java.security.interfaces;
9
10 import java.math.BigInteger JavaDoc;
11
12 /**
13  * The interface to an RSA public or private key.
14  *
15  * @author Jan Luehe
16  * @version 1.6 12/19/03
17  *
18  * @see RSAPublicKey
19  * @see RSAPrivateKey
20  *
21  * @since 1.3
22  */

23
24 public interface RSAKey {
25
26     /**
27      * Returns the modulus.
28      *
29      * @return the modulus
30      */

31     public BigInteger JavaDoc getModulus();
32 }
33
Popular Tags