|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--iaik.x509.V3Extension
|
+--com.entrust.toolkit.x509.extensions.EntrustVersInfo
This class implements the EntrustVersInfo Extension.
The EntrustVersInfo extension is used by Entrust Technologies to identify the
version and other information about the CA which issued the certificate.
The EntrustVersInfo OID is "1.2.840.113533.7.65.0".
The ASN.1 definition of the EntrustVersInfo extension is specified
as follows:
EntrustVersInfo ::= SEQUENCE {
entrustVers [0] GeneralString,
entrustInfo [1] BIT_STRING }
The entrustVers field specifies the version of Entrust/Manager that created the certificate.
The entrustInfo field is a proprietary bitmap used to describe the certificate and the
manner in which it was created.
This class provides several methods for getting (but not setting) the component
values of a EntrustVersInfo extension object.
Copyright 1998 Entrust Technologies Limited.
V3Extension,
X509Certificate,
GeneralString| Field Summary | |
static ObjectID |
oid
|
| Fields inherited from class iaik.x509.V3Extension |
critical |
| Constructor Summary | |
EntrustVersInfo()
Default constructor. |
|
| Method Summary | |
byte |
getEntrustInfo()
Returns the entrustInfo value of this EntrustVersInfo
extension specifying details about the certificate and how it was created. |
java.lang.String |
getEntrustVers()
Returns the entrustVers value of this EntrustVersInfo
extension specifying the version of the Entrust/Manager which issued the certificate. |
ObjectID |
getObjectID()
Returns the object ID of this EntrustVersInfo extension |
int |
hashCode()
Returns a hashcode for this identity. |
void |
init(ASN1Object obj)
Inits this EntrustVersInfo implementation with an ASN1Object
representing the value of this extension. |
ASN1Object |
toASN1Object()
Stub function to meet V3Extension criteria. |
java.lang.String |
toString()
Returns a string that represents the contents of this EntrustVersInfo extension. |
| Methods inherited from class iaik.x509.V3Extension |
getName,
isCritical,
setCritical |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final ObjectID oid
| Constructor Detail |
public EntrustVersInfo()
Generating a new EntrustVersInfo extension is not supported.
This class is provided for compatibility with existing certificates only.
| Method Detail |
public ObjectID getObjectID()
EntrustVersInfo extension
public void init(ASN1Object obj)
throws X509ExtensionException
EntrustVersInfo implementation with an ASN1Object
representing the value of this extension.
The ASN1Object is the extensionValue from ASN.1 type "Extension" representing
the entrustVers and entrustInfo values of this extension.
obj - the extensionValue as an ASN1Objectpublic ASN1Object toASN1Object()
public java.lang.String getEntrustVers()
entrustVers value of this EntrustVersInfo
extension specifying the version of the Entrust/Manager which issued the certificate.entrustVers value.public byte getEntrustInfo()
entrustInfo value of this EntrustVersInfo
extension specifying details about the certificate and how it was created.entrustInfo value.public int hashCode()
public java.lang.String toString()
EntrustVersInfo extension.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||