1 17 18 package org.apache.geronimo.util.asn1; 19 20 import java.io.IOException ; 21 22 public class DEROctetString 23 extends ASN1OctetString 24 { 25 28 public DEROctetString( 29 byte[] string) 30 { 31 super(string); 32 } 33 34 public DEROctetString( 35 DEREncodable obj) 36 { 37 super(obj); 38 } 39 40 void encode( 41 DEROutputStream out) 42 throws IOException  43 { 44 out.writeEncoded(OCTET_STRING, string); 45 } 46 } 47 | Popular Tags |