codec.x509.extensions
Class DateOfCreationExtension
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--codec.asn1.ASN1AbstractCollection
|
+--codec.asn1.ASN1Sequence
|
+--codec.x509.X509Extension
|
+--codec.x509.extensions.DateOfCreationExtension
- All Implemented Interfaces:
- ASN1Collection, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable, X509Extension
- public class DateOfCreationExtension
- extends X509Extension
- Author:
- cval This class implements the Date of Creation Extension, introduced
by ISIS-MTT. This Extension is used only, if a certificate is created
before its validity from date. (normally used only if the chain
model, not in the shell model.
- See Also:
- Serialized Form
|
Constructor Summary |
DateOfCreationExtension(Date cDate,
boolean crit)
contructs the Extension and sets the creationDate value to the value of
the parameter cDate. |
| Methods inherited from class codec.x509.X509Extension |
decodeExtensionValue, getCriticalExtensionOIDs, getEncoded, getExtensionValue, getNonCriticalExtensionOIDs, getOID, getValue, hasUnsupportedCriticalExtension, setCritical, setOID, setValue, toString |
| Methods inherited from class codec.asn1.ASN1AbstractCollection |
checkConstraints, decode, encode, getCollection, getConstraint, getTagClass, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, writeExternal |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
EXTENSION_OID
public static final String EXTENSION_OID
- Extension OID
DateOfCreationExtension
public DateOfCreationExtension(Date cDate,
boolean crit)
throws Exception
- contructs the Extension and sets the creationDate value to the value of
the parameter cDate.
isCritical
public boolean isCritical()
- Description copied from class:
X509Extension
- Returns the critical flag of this extension
- Overrides:
isCritical in class X509Extension
- Returns:
- the criticality of the extension
getCreationDate
public Date getCreationDate()
- Returns:
- Date : Date of Creation
toString
public String toString()
- String representation of the Extension.
- Overrides:
toString in class X509Extension
- Following copied from class:
codec.asn1.ASN1AbstractCollection
- Returns:
- The string representation of this ASN.1 collection.
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.