Home » geronimo-2.2-source-release » org.apache.geronimo.crypto.asn1 » [javadoc | source]
org.apache.geronimo.crypto.asn1
abstract public class: ASN1Sequence [javadoc | source]
java.lang.Object
   org.apache.geronimo.crypto.asn1.ASN1Encodable
      org.apache.geronimo.crypto.asn1.DERObject
         org.apache.geronimo.crypto.asn1.ASN1Sequence

All Implemented Interfaces:
    DERTags, DEREncodable

Direct Known Subclasses:
    BERConstructedSequence, BERSequence, DERSequence, DERConstructedSequence

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Method from org.apache.geronimo.crypto.asn1.ASN1Sequence Summary:
addObject,   encode,   equals,   getInstance,   getInstance,   getObjectAt,   getObjects,   hashCode,   size
Methods from org.apache.geronimo.crypto.asn1.DERObject:
encode,   equals,   hashCode,   toASN1Object
Methods from org.apache.geronimo.crypto.asn1.ASN1Encodable:
equals,   getDERObject,   getEncoded,   hashCode,   toASN1Object
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.crypto.asn1.ASN1Sequence Detail:
 protected  void addObject(DEREncodable obj) 
 abstract  void encode(DEROutputStream out) throws IOException
 public boolean equals(Object o) 
 public static ASN1Sequence getInstance(Object obj) 
    return an ASN1Sequence from the given object.
 public static ASN1Sequence getInstance(ASN1TaggedObject obj,
    boolean explicit) 
    Return an ASN1 sequence from a tagged object. There is a special case here, if an object appears to have been explicitly tagged on reading but we were expecting it to be implictly tagged in the normal course of events it indicates that we lost the surrounding sequence - so we need to add it back (this will happen if the tagged object is a sequence that contains other sequences). If you are dealing with implicitly tagged sequences you really should be using this method.
 public DEREncodable getObjectAt(int index) 
    return the object at the sequence postion indicated by index.
 public Enumeration getObjects() 
 public int hashCode() 
 public int size() 
    return the number of objects in this sequence.