2003-06-27 Michael Koch <konqueror@gmx.de>
* java/security/Certificate.java (getGuarantor): Removed wrong @deprecated tag. (getPrincipal): Likewise. (getPublicKey): Likewise. (encode): Likewise. (decode): Likewise. (getFormat): Likewise. (toString): Likewise. * java/security/cert/PolicyQualifierInfo.java (PolicyQualifierInfo): Made final. * javax/security/auth/x500/X500Principal.java (serialVersionUID): New member variable. From-SVN: r68579
This commit is contained in:
parent
720b7001a6
commit
560d4c592f
|
@ -1,9 +1,17 @@
|
||||||
2003-06-27 Michael Koch <konqueror@gmx.de>
|
2003-06-27 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
* java/rmi/server/SkeletonNotFoundException.java
|
* java/security/Certificate.java
|
||||||
(SkeletonNotFoundException): Removed wrong @deprecated tag.
|
(getGuarantor): Removed wrong @deprecated tag.
|
||||||
* java/rmi/server/UnicastRemoteObject.java
|
(getPrincipal): Likewise.
|
||||||
(exportObject): Made package-private.
|
(getPublicKey): Likewise.
|
||||||
|
(encode): Likewise.
|
||||||
|
(decode): Likewise.
|
||||||
|
(getFormat): Likewise.
|
||||||
|
(toString): Likewise.
|
||||||
|
* java/security/cert/PolicyQualifierInfo.java
|
||||||
|
(PolicyQualifierInfo): Made final.
|
||||||
|
* javax/security/auth/x500/X500Principal.java
|
||||||
|
(serialVersionUID): New member variable.
|
||||||
|
|
||||||
2003-06-27 Michael Koch <konqueror@gmx.de>
|
2003-06-27 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ this exception to your version of the library, but you are not
|
||||||
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
|
||||||
exception statement from your version. */
|
exception statement from your version. */
|
||||||
|
|
||||||
|
|
||||||
package java.security;
|
package java.security;
|
||||||
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
@ -62,7 +63,6 @@ public interface Certificate
|
||||||
* this certificate.
|
* this certificate.
|
||||||
*
|
*
|
||||||
* @return the <code>Principal</code> guaranteeing the certificate
|
* @return the <code>Principal</code> guaranteeing the certificate
|
||||||
* @deprecated this entire interface is deprecated
|
|
||||||
*/
|
*/
|
||||||
Principal getGuarantor();
|
Principal getGuarantor();
|
||||||
|
|
||||||
|
@ -71,7 +71,6 @@ public interface Certificate
|
||||||
* this certificate.
|
* this certificate.
|
||||||
*
|
*
|
||||||
* @return the <code>Principal</code> guaranteed by this certificate
|
* @return the <code>Principal</code> guaranteed by this certificate
|
||||||
* @deprecated this entire interface is deprecated
|
|
||||||
*/
|
*/
|
||||||
Principal getPrincipal();
|
Principal getPrincipal();
|
||||||
|
|
||||||
|
@ -80,7 +79,6 @@ public interface Certificate
|
||||||
* is being guaranteed.
|
* is being guaranteed.
|
||||||
*
|
*
|
||||||
* @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
|
|
||||||
*/
|
*/
|
||||||
PublicKey getPublicKey();
|
PublicKey getPublicKey();
|
||||||
|
|
||||||
|
@ -93,7 +91,6 @@ public interface Certificate
|
||||||
* @throws IOException if an error occurs writing to the stream
|
* @throws IOException if an error occurs writing to the stream
|
||||||
* @see #decode(InputStream)
|
* @see #decode(InputStream)
|
||||||
* @see #getFormat()
|
* @see #getFormat()
|
||||||
* @deprecated this entire interface is deprecated
|
|
||||||
*/
|
*/
|
||||||
void encode(OutputStream out) throws KeyException, IOException;
|
void encode(OutputStream out) throws KeyException, IOException;
|
||||||
|
|
||||||
|
@ -105,7 +102,6 @@ public interface Certificate
|
||||||
* @throws IOException if an error occurs reading from the stream
|
* @throws IOException if an error occurs reading from the stream
|
||||||
* @see #encode(OutputStream)
|
* @see #encode(OutputStream)
|
||||||
* @see #getFormat()
|
* @see #getFormat()
|
||||||
* @deprecated this entire interface is deprecated
|
|
||||||
*/
|
*/
|
||||||
void decode(InputStream in) throws KeyException, IOException;
|
void decode(InputStream in) throws KeyException, IOException;
|
||||||
|
|
||||||
|
@ -115,7 +111,6 @@ public interface Certificate
|
||||||
* <code>decode</code> methods.
|
* <code>decode</code> methods.
|
||||||
*
|
*
|
||||||
* @return the encoding format being used
|
* @return the encoding format being used
|
||||||
* @deprecated this entire interface is deprecated
|
|
||||||
*/
|
*/
|
||||||
String getFormat();
|
String getFormat();
|
||||||
|
|
||||||
|
@ -125,7 +120,6 @@ public interface Certificate
|
||||||
*
|
*
|
||||||
* @param detail true to provided more detailed information
|
* @param detail true to provided more detailed information
|
||||||
* @return the string representation
|
* @return the string representation
|
||||||
* @deprecated this entire interface is deprecated
|
|
||||||
*/
|
*/
|
||||||
String toString(boolean detail);
|
String toString(boolean detail);
|
||||||
} // interface Certificate
|
} // interface Certificate
|
||||||
|
|
|
@ -65,7 +65,7 @@ import gnu.java.security.der.DERWriter;
|
||||||
*
|
*
|
||||||
* @since JDK 1.4
|
* @since JDK 1.4
|
||||||
*/
|
*/
|
||||||
public class PolicyQualifierInfo
|
public final class PolicyQualifierInfo
|
||||||
{
|
{
|
||||||
|
|
||||||
// Fields.
|
// Fields.
|
||||||
|
|
|
@ -55,6 +55,7 @@ import gnu.java.security.x509.X500DistinguishedName;
|
||||||
|
|
||||||
public final class X500Principal implements Principal, Serializable
|
public final class X500Principal implements Principal, Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -500463348111345721L;
|
||||||
|
|
||||||
// Constants and fields.
|
// Constants and fields.
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue