O'Reilly logo

Java Security, 2nd Edition by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Class java.security.cert.Certificate

Synopsis

This class represents any type of cryptographic certificate. A certificate contains a public key (see getPublicKey( )) and other associated information. The certificate contains an internal signature that protects its integrity. You can verify the integrity of the certificate by calling one of the verify( ) methods with the public key of the certificate’s issuer. (Note: don’t confuse this class with the java.security.Certificate interface, which is deprecated.)

Class Definition

public abstract class java.security.cert.Certificate
    extends java.lang.Object
    implements java.io.Serializable {

    // Constructors
    protected Certificate(String);

    // Instance Methods
    public boolean equals(Object);
    public abstract byte[] getEncoded(  );
    public abstract PublicKey getPublicKey(  );
    public final String getType(  );
    public int hashCode(  );
    public abstract String toString(  );
    public abstract void verify(PublicKey);
    public abstract void verify(PublicKey, String);

    // Protected Instance Methods
    protected Object writeReplace(  );
}

See also

PublicKey, X509Certificate

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required