org.bouncycastle.asn1.misc
public class NetscapeCertType extends DERBitString
NetscapeCertType ::= BIT STRING {
SSLClient (0),
SSLServer (1),
S/MIME (2),
Object Signing (3),
Reserved (4),
SSL CA (5),
S/MIME CA (6),
Object Signing CA (7) }
| Field Summary | |
|---|---|
| static int | objectSigning |
| static int | objectSigningCA |
| static int | reserved |
| static int | smime |
| static int | smimeCA |
| static int | sslCA |
| static int | sslClient |
| static int | sslServer |
| Constructor Summary | |
|---|---|
| NetscapeCertType(int usage)
Basic constructor.
| |
| NetscapeCertType(DERBitString usage) | |
| Method Summary | |
|---|---|
| String | toString() |
Parameters: usage - the bitwise OR of the Key Usage flags giving the allowed uses for the key. e.g. (X509NetscapeCertType.sslCA | X509NetscapeCertType.smimeCA)