mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
30 lines
517 B
Java
30 lines
517 B
Java
|
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);
|
||
|
}
|
||
|
}
|