an object for the elements in the X.509 V3 extension block.
| 18 | * an object for the elements in the X.509 V3 extension block. |
| 19 | */ |
| 20 | public class Extension |
| 21 | extends ASN1Object |
| 22 | { |
| 23 | /** |
| 24 | * Subject Directory Attributes |
| 25 | */ |
| 26 | public static final ASN1ObjectIdentifier subjectDirectoryAttributes = new ASN1ObjectIdentifier("2.5.29.9").intern(); |
| 27 | |
| 28 | /** |
| 29 | * Subject Key Identifier |
| 30 | */ |
| 31 | public static final ASN1ObjectIdentifier subjectKeyIdentifier = new ASN1ObjectIdentifier("2.5.29.14").intern(); |
| 32 | |
| 33 | /** |
| 34 | * Key Usage |
| 35 | */ |
| 36 | public static final ASN1ObjectIdentifier keyUsage = new ASN1ObjectIdentifier("2.5.29.15").intern(); |
| 37 | |
| 38 | /** |
| 39 | * Private Key Usage Period |
| 40 | */ |
| 41 | public static final ASN1ObjectIdentifier privateKeyUsagePeriod = new ASN1ObjectIdentifier("2.5.29.16").intern(); |
| 42 | |
| 43 | /** |
| 44 | * Subject Alternative Name |
| 45 | */ |
| 46 | public static final ASN1ObjectIdentifier subjectAlternativeName = new ASN1ObjectIdentifier("2.5.29.17").intern(); |
| 47 | |
| 48 | /** |
| 49 | * Issuer Alternative Name |
| 50 | */ |
| 51 | public static final ASN1ObjectIdentifier issuerAlternativeName = new ASN1ObjectIdentifier("2.5.29.18").intern(); |
| 52 | |
| 53 | /** |
| 54 | * Basic Constraints |
| 55 | */ |
| 56 | public static final ASN1ObjectIdentifier basicConstraints = new ASN1ObjectIdentifier("2.5.29.19").intern(); |
| 57 | |
| 58 | /** |
| 59 | * CRL Number |
| 60 | */ |
| 61 | public static final ASN1ObjectIdentifier cRLNumber = new ASN1ObjectIdentifier("2.5.29.20").intern(); |
| 62 | |
| 63 | /** |
| 64 | * Reason code |
| 65 | */ |
| 66 | public static final ASN1ObjectIdentifier reasonCode = new ASN1ObjectIdentifier("2.5.29.21").intern(); |
| 67 | |
| 68 | /** |
| 69 | * Hold Instruction Code |
| 70 | */ |
| 71 | public static final ASN1ObjectIdentifier instructionCode = new ASN1ObjectIdentifier("2.5.29.23").intern(); |
| 72 | |
| 73 | /** |
| 74 | * Invalidity Date |
| 75 | */ |
| 76 | public static final ASN1ObjectIdentifier invalidityDate = new ASN1ObjectIdentifier("2.5.29.24").intern(); |
| 77 |