Name

Class java.security.cert.X509Certificate

Synopsis

This class represents certificates as defined in the X.509 standard. Such certificates associate a public key with a subject, which is usually a person or organization. You can find out the certificate’s subject by calling getSubjectDN( ) while you can retrieve the subject’s public key using getPublicKey( ). The certificate’s issuer is the person or organization that generated and signed the certificate (see getIssuerDN( )). If you have a certificate file in the format described by RFC 1421, you can create an X509Certificate from that data by using one of the getInstance( ) methods.

Class Definition

public abstract class java.security.cert.X509Certificate extends java.security.cert.Certificate implements java.security.cert.X509Extension { // Constructors protected X509Certificate( ); // Instance Methods public abstract void checkValidity( ); public abstract void checkValidity(Date); public abstract int getBasicConstraints( ); public abstract Set getCriticalExtensionOIDs( ); public abstract byte[] getExtensionValue(String); public abstract Principal getIssuerDN( ); public abstract boolean[] getIssuerUniqueID( ); public abstract boolean[] getKeyUsage( ); public abstract Set getNonCriticalExtensionOIDs( ); public abstract Date getNotAfter( ); public abstract Date getNotBefore( ); public abstract BigInteger getSerialNumber( ); public abstract String getSigAlgName( ); public abstract String getSigAlgOID( ); public abstract byte[] getSigAlgParams( ...

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.