codec.x509.extensions
Class ArchiveCutoffExtension

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--codec.asn1.ASN1AbstractCollection
                          |
                          +--codec.asn1.ASN1Sequence
                                |
                                +--codec.x509.X509Extension
                                      |
                                      +--codec.x509.extensions.ArchiveCutoffExtension
All Implemented Interfaces:
ASN1Collection, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable, X509Extension

public class ArchiveCutoffExtension
extends X509Extension

Version:
"$Id: ArchiveCutoffExtension.java,v 1.1 2004/08/16 13:31:38 pebinger Exp $"
Author:
Volker Roth
See Also:
Serialized Form

Field Summary
static String EXTENSION_OID
           
 
Fields inherited from class codec.x509.X509Extension
critical, extnID, extnValue
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ArchiveCutoffExtension()
           
ArchiveCutoffExtension(ASN1GeneralizedTime time)
           
ArchiveCutoffExtension(ASN1UTCTime time)
           
 
Method Summary
 void decode(Decoder dec)
          Reads this collection from the given Decoder.
 ASN1GeneralizedTime getTime()
           
 
Methods inherited from class codec.x509.X509Extension
decodeExtensionValue, getCriticalExtensionOIDs, getEncoded, getExtensionValue, getNonCriticalExtensionOIDs, getOID, getValue, hasUnsupportedCriticalExtension, isCritical, setCritical, setOID, setValue, toString, toString
 
Methods inherited from class codec.asn1.ASN1Sequence
getTag
 
Methods inherited from class codec.asn1.ASN1AbstractCollection
checkConstraints, 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 class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Field Detail

EXTENSION_OID

public static final String EXTENSION_OID
Constructor Detail

ArchiveCutoffExtension

public ArchiveCutoffExtension()
                       throws ASN1Exception,
                              CertificateEncodingException

ArchiveCutoffExtension

public ArchiveCutoffExtension(ASN1GeneralizedTime time)
                       throws ASN1Exception,
                              CertificateEncodingException

ArchiveCutoffExtension

public ArchiveCutoffExtension(ASN1UTCTime time)
                       throws ASN1Exception,
                              CertificateEncodingException
Method Detail

getTime

public ASN1GeneralizedTime getTime()
Returns:
The internal ASN.1 object which represents the time.

decode

public void decode(Decoder dec)
            throws ASN1Exception,
                   IOException
Description copied from class: ASN1AbstractCollection
Reads this collection from the given Decoder. This type is initialized with the decoded data. The components of the decoded collection must match the components of this collection. If they do then the components are also initialized with the decoded values. Otherwise an exception is thrown.
Overrides:
decode in class ASN1AbstractCollection
Following copied from class: codec.asn1.ASN1AbstractCollection
Parameters:
dec - The decoder to read from.


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.