id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 }
KeyUsage ::= BIT STRING {
digitalSignature (0),
nonRepudiation (1),
keyEncipherment (2),
dataEncipherment (3),
keyAgreement (4),
keyCertSign (5),
cRLSign (6),
encipherOnly (7),
decipherOnly (8) }
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | X509KeyUsage(int
- the bitwise OR of the Key Usage flags giving the
allowed uses for the key.
e.g. (X509KeyUsage.keyEncipherment | X509KeyUsage.dataEncipherment) usage)Basic constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Method providing a primitive representation of this object suitable for encoding. |
| cRLSign | back to summary |
|---|---|
| public static final int cRLSign | |
| dataEncipherment | back to summary |
|---|---|
| public static final int dataEncipherment | |
| decipherOnly | back to summary |
|---|---|
| public static final int decipherOnly | |
| digitalSignature | back to summary |
|---|---|
| public static final int digitalSignature | |
| encipherOnly | back to summary |
|---|---|
| public static final int encipherOnly | |
| keyAgreement | back to summary |
|---|---|
| public static final int keyAgreement | |
| keyCertSign | back to summary |
|---|---|
| public static final int keyCertSign | |
| keyEncipherment | back to summary |
|---|---|
| public static final int keyEncipherment | |
| nonRepudiation | back to summary |
|---|---|
| public static final int nonRepudiation | |
| usage | back to summary |
|---|---|
| private int usage | |
| X509KeyUsage | back to summary |
|---|---|
| public X509KeyUsage(int usage) Basic constructor.
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |