Name

Interface java.security.Certificate

Synopsis

Classes that implement this interface can be used to model certificates. However, this interface has been deprecated in favor of the java.security.cert.Certificate class.

public interface java.security.Certificate {

    // Instance Methods
    public abstract void decode(InputStream);
    public abstract void encode(OutputStream);
    public abstract String getFormat(  );
    public abstract Principal getGuarantor(  );
    public abstract Principal getPrincipal(  );
    public abstract PublicKey getPublicKey(  );
    public abstract String toString(boolean);
}

See also

java.security.cert.Certificate

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.