1 7 8 15 16 package javax.security.cert; 17 18 import java.io.InputStream; 19 import java.lang.Class; 20 import java.lang.reflect.Constructor; 21 import java.lang.reflect.InvocationTargetException; 22 import java.security.Security; 23 import java.math.BigInteger; 24 import java.security.AccessController; 25 import java.security.Principal; 26 import java.security.PrivilegedAction; 27 import java.security.PublicKey; 28 import java.util.BitSet; 29 import java.util.Date; 30 31 119 public abstract class X509Certificate extends Certificate 120 { 121 122 public X509Certificate() { } 123 124 147 public static final X509Certificate getInstance(InputStream inStream) 148 throws CertificateException 149 { 150 return null; 151 } 152 153 174 public static final X509Certificate getInstance(byte[] certData) 175 throws CertificateException 176 { 177 return null; 178 } 179 180 203 public abstract void checkValidity() 204 throws CertificateExpiredException, CertificateNotYetValidException; 205 206 219 public abstract void checkValidity(Date date) 220 throws CertificateExpiredException, CertificateNotYetValidException; 221 222 232 public abstract int getVersion(); 233 234 249 public abstract BigInteger getSerialNumber(); 250 251 283 public abstract Principal getIssuerDN(); 284 285 299 public abstract Principal getSubjectDN(); 300 301 319 public abstract Date getNotBefore(); 320 321 329 public abstract Date getNotAfter(); 330 331 350 public abstract String getSigAlgName(); 351 352 364 public abstract String getSigAlgOID(); 365 366 378 public abstract byte[] getSigAlgParams(); 379 } 380 | Popular Tags |