BerSequence.java :  » Security » Bouncy-Castle » org » bouncycastle » sasn1 » Java Open Source

Java Open Source » Security » Bouncy Castle 
Bouncy Castle » org » bouncycastle » sasn1 » BerSequence.java
package org.bouncycastle.sasn1;

import java.io.IOException;
import java.io.InputStream;

/**
 * @deprecated use corresponsding classes in org.bouncycastle.asn1.
 */
public class BerSequence
    extends Asn1Object
    implements Asn1Sequence
{
    private Asn1InputStream _aIn;

    protected BerSequence(
        int         baseTag, 
        InputStream contentStream)
    {
        super(baseTag, BerTag.SEQUENCE, contentStream);

        this._aIn = new Asn1InputStream(contentStream);
    }

    public Asn1Object readObject() 
        throws IOException
    {
        return _aIn.readObject();
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.