session-android/src/org/thoughtcrime/bouncycastle/asn1/DEROctetString.java

30 lines
517 B
Java
Raw Normal View History

2011-12-20 19:20:44 +01:00
package org.thoughtcrime.bouncycastle.asn1;
import java.io.IOException;
public class DEROctetString
extends ASN1OctetString
{
/**
* @param string the octets making up the octet string.
*/
public DEROctetString(
byte[] string)
{
super(string);
}
public DEROctetString(
DEREncodable obj)
{
super(obj);
}
void encode(
DEROutputStream out)
throws IOException
{
out.writeEncoded(OCTET_STRING, string);
}
}