projects
/
org.ibex.core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
enable cloning
[org.ibex.core.git]
/
src
/
org
/
bouncycastle
/
asn1
/
DEROctetString.java
1
package org.bouncycastle.asn1;
2
3
import java.io.*;
4
5
public class DEROctetString
6
extends ASN1OctetString
7
{
8
/**
9
* @param string the octets making up the octet string.
10
*/
11
public DEROctetString(
12
byte[] string)
13
{
14
super(string);
15
}
16
17
public DEROctetString(
18
DEREncodable obj)
19
{
20
super(obj);
21
}
22
23
void encode(
24
DEROutputStream out)
25
throws IOException
26
{
27
out.writeEncoded(OCTET_STRING, string);
28
}
29
}