Certificate


Certificate java.security

Java 1.1; Deprecated in 1.2 @Deprecated

This interface was used in Java 1.1 to represent an identity certificate. It has been deprecated as of Java 1.2 in favor of the java.security.cert package (see Chapter 19). See also java.security.cert.Certificate .

 public interface  Certificate  {  // Public Instance Methods  void  decode  (java.io.InputStream  stream  )          throws KeyException, java.io.IOException;        void  encode  (java.io.OutputStream  stream  )          throws KeyException, java.io.IOException;        String  getFormat  ( );        Principal  getGuarantor  ( );        Principal  getPrincipal  ( );        PublicKey  getPublicKey  ( );        String  toString  (boolean  detailed  );   } 

Passed To

Identity.{addCertificate( ) , removeCertificate( )}

Returned By

Identity.certificates( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net