35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
|
39 |
package java.security; |
package java.security; |
40 |
|
|
41 |
import java.io.InputStream; |
import java.io.InputStream; |
63 |
* this certificate. |
* this certificate. |
64 |
* |
* |
65 |
* @return the <code>Principal</code> guaranteeing the certificate |
* @return the <code>Principal</code> guaranteeing the certificate |
|
* @deprecated this entire interface is deprecated |
|
66 |
*/ |
*/ |
67 |
Principal getGuarantor(); |
Principal getGuarantor(); |
68 |
|
|
71 |
* this certificate. |
* this certificate. |
72 |
* |
* |
73 |
* @return the <code>Principal</code> guaranteed by this certificate |
* @return the <code>Principal</code> guaranteed by this certificate |
|
* @deprecated this entire interface is deprecated |
|
74 |
*/ |
*/ |
75 |
Principal getPrincipal(); |
Principal getPrincipal(); |
76 |
|
|
79 |
* is being guaranteed. |
* is being guaranteed. |
80 |
* |
* |
81 |
* @return the <code>PublicKey</code> of the Principal being guaranteed |
* @return the <code>PublicKey</code> of the Principal being guaranteed |
|
* @deprecated this entire interface is deprecated |
|
82 |
*/ |
*/ |
83 |
PublicKey getPublicKey(); |
PublicKey getPublicKey(); |
84 |
|
|
91 |
* @throws IOException if an error occurs writing to the stream |
* @throws IOException if an error occurs writing to the stream |
92 |
* @see #decode(InputStream) |
* @see #decode(InputStream) |
93 |
* @see #getFormat() |
* @see #getFormat() |
|
* @deprecated this entire interface is deprecated |
|
94 |
*/ |
*/ |
95 |
void encode(OutputStream out) throws KeyException, IOException; |
void encode(OutputStream out) throws KeyException, IOException; |
96 |
|
|
102 |
* @throws IOException if an error occurs reading from the stream |
* @throws IOException if an error occurs reading from the stream |
103 |
* @see #encode(OutputStream) |
* @see #encode(OutputStream) |
104 |
* @see #getFormat() |
* @see #getFormat() |
|
* @deprecated this entire interface is deprecated |
|
105 |
*/ |
*/ |
106 |
void decode(InputStream in) throws KeyException, IOException; |
void decode(InputStream in) throws KeyException, IOException; |
107 |
|
|
111 |
* <code>decode</code> methods. |
* <code>decode</code> methods. |
112 |
* |
* |
113 |
* @return the encoding format being used |
* @return the encoding format being used |
|
* @deprecated this entire interface is deprecated |
|
114 |
*/ |
*/ |
115 |
String getFormat(); |
String getFormat(); |
116 |
|
|
120 |
* |
* |
121 |
* @param detail true to provided more detailed information |
* @param detail true to provided more detailed information |
122 |
* @return the string representation |
* @return the string representation |
|
* @deprecated this entire interface is deprecated |
|
123 |
*/ |
*/ |
124 |
String toString(boolean detail); |
String toString(boolean detail); |
125 |
} // interface Certificate |
} // interface Certificate |