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.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 ...
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