KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)RSAPrivateCrtKey.java 1.12 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 private key, as defined in the PKCS#1 standard,
14  * using the <i>Chinese Remainder Theorem</i> (CRT) information values.
15  *
16  * @author Jan Luehe
17  *
18  * @version 1.12 03/12/19
19  *
20  * @see RSAPrivateKey
21  */

22
23 public interface RSAPrivateCrtKey extends RSAPrivateKey JavaDoc {
24
25     static final long serialVersionUID = -5682214253527700368L;
26
27     /**
28      * Returns the public exponent.
29      *
30      * @return the public exponent
31      */

32     public BigInteger JavaDoc getPublicExponent();
33
34     /**
35      * Returns the primeP.
36
37      * @return the primeP
38      */

39     public BigInteger JavaDoc getPrimeP();
40
41     /**
42      * Returns the primeQ.
43      *
44      * @return the primeQ
45      */

46     public BigInteger JavaDoc getPrimeQ();
47
48     /**
49      * Returns the primeExponentP.
50      *
51      * @return the primeExponentP
52      */

53     public BigInteger JavaDoc getPrimeExponentP();
54
55     /**
56      * Returns the primeExponentQ.
57      *
58      * @return the primeExponentQ
59      */

60     public BigInteger JavaDoc getPrimeExponentQ();
61
62     /**
63      * Returns the crtCoefficient.
64      *
65      * @return the crtCoefficient
66      */

67     public BigInteger JavaDoc getCrtCoefficient();
68 }
69
Popular Tags