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
Get Java Security 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.