O'Reilly logo

Java Security 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 {

	// Constructors
	public Certificate();

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

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