org.bouncycastle.asn1
Class BEROctetString
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1OctetString
org.bouncycastle.asn1.BEROctetString
- All Implemented Interfaces:
- ASN1Encodable, ASN1OctetStringParser, InMemoryRepresentable
- Direct Known Subclasses:
- BERConstructedOctetString
public class BEROctetString
- extends ASN1OctetString
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BEROctetString
public BEROctetString(byte[] string)
- Parameters:
string
- the octets making up the octet string.
BEROctetString
public BEROctetString(ASN1OctetString[] octs)
getOctets
public byte[] getOctets()
- Overrides:
getOctets
in class ASN1OctetString
getObjects
public java.util.Enumeration getObjects()
- return the DER octets that make up this string.
encode
public void encode(ASN1OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException