Skip to Content
Java Security
book

Java Security

by Scott Oaks
May 1998
Intermediate to advanced
469 pages
14h 57m
English
O'Reilly Media, Inc.
Content preview from Java Security

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Security Handbook

Java Security Handbook

Jamie Jaworski, Paul J. Perrone, Venkata S.R. Krishna Chaganti

Publisher Resources

ISBN: 1565924037Supplemental ContentCatalog PageErrata