All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.x509.extensions.netscape.NetscapeCertType

java.lang.Object
   |
   +----iaik.x509.V3Extension
           |
           +----iaik.x509.extensions.netscape.NetscapeCertType

public class NetscapeCertType
extends V3Extension
This class implements the NetscapeCertType Extension.


Variable Index

 o OBJECT_SIGNING
This certificate is certified for signing objects such as Java applets ans plugins.
 o OBJECT_SIGNING_CA
This certificate is certified for issuing certs for Object Signing.
 o S_MIME
This certificate is certified for use by clients.
 o S_MIME_CA
This certificate is certified for issuing certs for S/MIME use.
 o SSL_CA
This certificate is certified for issuing certs for SSL use.
 o SSL_CLIENT
This certificate is certified for SSL client authentication use.
 o SSL_SERVER
This certificate is certified for SSL server authentication use.

Constructor Index

 o NetscapeCertType()
Default constructor.
 o NetscapeCertType(int)
Construct a NetscapeCertType extension with a specified type.

Method Index

 o getCertType()
Returns the type of the certificate.
 o getObjectID()
Returns the object ID of this extension
 o hashCode()
Returns a hashcode for this identity.
 o init(ASN1Object)
Inits this implementation of an extension with an ASN1Object.
 o setCertType(int)
Sets the type of the certificate.
 o toASN1Object()
Returns the value of this extension as ASN1Object.
 o toString()
Returns a string that represents the contents of the extensions.

Variables

 o SSL_CLIENT
 public static int SSL_CLIENT
This certificate is certified for SSL client authentication use.

 o SSL_SERVER
 public static int SSL_SERVER
This certificate is certified for SSL server authentication use.

 o S_MIME
 public static int S_MIME
This certificate is certified for use by clients.

 o OBJECT_SIGNING
 public static int OBJECT_SIGNING
This certificate is certified for signing objects such as Java applets ans plugins.

 o SSL_CA
 public static int SSL_CA
This certificate is certified for issuing certs for SSL use.

 o S_MIME_CA
 public static int S_MIME_CA
This certificate is certified for issuing certs for S/MIME use.

 o OBJECT_SIGNING_CA
 public static int OBJECT_SIGNING_CA
This certificate is certified for issuing certs for Object Signing.

Constructors

 o NetscapeCertType
 public NetscapeCertType()
Default constructor. Creates an empty object.

 o NetscapeCertType
 public NetscapeCertType(int type)
Construct a NetscapeCertType extension with a specified type.

Parameters:
type - the type of the certificate

Methods

 o getObjectID
 public ObjectID getObjectID()
Returns the object ID of this extension

Returns:
the object ID
Overrides:
getObjectID in class V3Extension
 o init
 public void init(ASN1Object obj)
Inits this implementation of an extension with an ASN1Object. The ASN1Object is the extensionValue from ASN.1 type "Extension". The ASN1Object is the one created by toASN1Object().

Parameters:
obj - the extensionValue as ASN1Object
Overrides:
init in class V3Extension
See Also:
toASN1Object
 o toASN1Object
 public ASN1Object toASN1Object()
Returns the value of this extension as ASN1Object. The ASN1Object is the extensionValue from ASN.1 type "Extension". The created ASN1Object is same, which is the parameter to method init.

Returns:
the value of the extension as ASN1Object
Overrides:
toASN1Object in class V3Extension
See Also:
init
 o setCertType
 public void setCertType(int type)
Sets the type of the certificate.

Parameters:
type - the type of the certificate
 o getCertType
 public int getCertType()
Returns the type of the certificate.

Returns:
the type of the certificate
 o hashCode
 public int hashCode()
Returns a hashcode for this identity.

Returns:
a hash code for this identity
Overrides:
hashCode in class V3Extension
 o toString
 public String toString()
Returns a string that represents the contents of the extensions.

Returns:
the string representation
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index