| | |
| | | * |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions copyright 2011 ForgeRock AS |
| | | */ |
| | | package org.forgerock.opendj.asn1; |
| | | |
| | |
| | | * The type tag of the element. |
| | | * @param value |
| | | * The byte array containing the octet string data. |
| | | * @return A reference to this ASN.1 writer. |
| | | * @throws IOException |
| | | * If an error occurs while writing the element. |
| | | */ |
| | | ASN1Writer writeOctetString(byte type, byte[] value) throws IOException; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Writes an octet string element using the provided type tag. |
| | | * |
| | | * @param type |
| | | * The type tag of the element. |
| | | * @param value |
| | | * The byte array containing the octet string data. |
| | | * @param offset |
| | | * The offset in the byte array. |
| | | * @param length |
| | |
| | | * |
| | | * @param value |
| | | * The byte array containing the octet string data. |
| | | * @return A reference to this ASN.1 writer. |
| | | * @throws IOException |
| | | * If an error occurs while writing the element. |
| | | */ |
| | | ASN1Writer writeOctetString(byte[] value) throws IOException; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Writes an octet string element using the Universal Octet String ASN.1 type |
| | | * tag. |
| | | * |
| | | * @param value |
| | | * The byte array containing the octet string data. |
| | | * @param offset |
| | | * The offset in the byte array. |
| | | * @param length |