Bouncy Castle Cryptography Library 1.47

org.bouncycastle.asn1
Class BEROctetString

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Object
      extended by org.bouncycastle.asn1.ASN1Primitive
          extended by org.bouncycastle.asn1.ASN1OctetString
              extended by org.bouncycastle.asn1.BEROctetString
All Implemented Interfaces:
ASN1Encodable, ASN1OctetStringParser, InMemoryRepresentable
Direct Known Subclasses:
BERConstructedOctetString

public class BEROctetString
extends ASN1OctetString


Constructor Summary
BEROctetString(ASN1OctetString[] octs)
           
BEROctetString(byte[] string)
           
 
Method Summary
 void encode(ASN1OutputStream out)
           
 java.util.Enumeration getObjects()
          return the DER octets that make up this string.
 byte[] getOctets()
           
 
Methods inherited from class org.bouncycastle.asn1.ASN1OctetString
getInstance, getInstance, getLoadedObject, getOctetStream, hashCode, parser, toString
 
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
equals, fromByteArray, toASN1Primitive
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
 

Constructor Detail

BEROctetString

public BEROctetString(byte[] string)
Parameters:
string - the octets making up the octet string.

BEROctetString

public BEROctetString(ASN1OctetString[] octs)
Method Detail

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

Bouncy Castle Cryptography Library 1.47