Logo Search packages:      
Sourcecode: bouncycastle version File versions  Download package

DEROctetString.java

package org.bouncycastle.asn1;

import java.io.IOException;

00005 public class DEROctetString
    extends ASN1OctetString
{
    /**
     * @param string the octets making up the octet string.
     */
00011     public DEROctetString(
        byte[]  string)
    {
        super(string);
    }

    public DEROctetString(
        DEREncodable  obj)
    {
        super(obj);
    }

    void encode(
        DEROutputStream out)
        throws IOException
    {
        out.writeEncoded(OCTET_STRING, string);
    }
}

Generated by  Doxygen 1.6.0   Back to index