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.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 public 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(); public ...

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