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.
-
OBJECT_SIGNING
- This certificate is certified for signing objects such as Java applets
ans plugins.
-
OBJECT_SIGNING_CA
- This certificate is certified for issuing certs for Object Signing.
-
S_MIME
- This certificate is certified for use by clients.
-
S_MIME_CA
- This certificate is certified for issuing certs for S/MIME use.
-
SSL_CA
- This certificate is certified for issuing certs for SSL use.
-
SSL_CLIENT
- This certificate is certified for SSL client authentication use.
-
SSL_SERVER
- This certificate is certified for SSL server authentication use.
-
NetscapeCertType()
- Default constructor.
-
NetscapeCertType(int)
- Construct a NetscapeCertType extension with a specified type.
-
getCertType()
- Returns the type of the certificate.
-
getObjectID()
- Returns the object ID of this extension
-
hashCode()
- Returns a hashcode for this identity.
-
init(ASN1Object)
- Inits this implementation of an extension with an ASN1Object.
-
setCertType(int)
- Sets the type of the certificate.
-
toASN1Object()
- Returns the value of this extension as ASN1Object.
-
toString()
- Returns a string that represents the contents of the extensions.
SSL_CLIENT
public static int SSL_CLIENT
- This certificate is certified for SSL client authentication use.
SSL_SERVER
public static int SSL_SERVER
- This certificate is certified for SSL server authentication use.
S_MIME
public static int S_MIME
- This certificate is certified for use by clients.
OBJECT_SIGNING
public static int OBJECT_SIGNING
- This certificate is certified for signing objects such as Java applets
ans plugins.
SSL_CA
public static int SSL_CA
- This certificate is certified for issuing certs for SSL use.
S_MIME_CA
public static int S_MIME_CA
- This certificate is certified for issuing certs for S/MIME use.
OBJECT_SIGNING_CA
public static int OBJECT_SIGNING_CA
- This certificate is certified for issuing certs for Object Signing.
NetscapeCertType
public NetscapeCertType()
- Default constructor. Creates an empty object.
NetscapeCertType
public NetscapeCertType(int type)
- Construct a NetscapeCertType extension with a specified type.
- Parameters:
- type - the type of the certificate
getObjectID
public ObjectID getObjectID()
- Returns the object ID of this extension
- Returns:
- the object ID
- Overrides:
- getObjectID in class V3Extension
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
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
setCertType
public void setCertType(int type)
- Sets the type of the certificate.
- Parameters:
- type - the type of the certificate
getCertType
public int getCertType()
- Returns the type of the certificate.
- Returns:
- the type of the certificate
hashCode
public int hashCode()
- Returns a hashcode for this identity.
- Returns:
- a hash code for this identity
- Overrides:
- hashCode in class V3Extension
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