All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.util.CharToBytePrintable

netscape.security.util.CharToBytePrintable

public class CharToBytePrintable
Converts a string of ASN.1 PrintableString characters to PrintableString bytes.


Constructor Index

 o CharToBytePrintable()

Method Index

 o convert(char[], int, int, byte[], int, int)
 o flush(byte[], int, int)
 o getCharacterEncoding()
 o getMaxBytesPerChar()
 o isPrintableChar(char)
 o reset()

Constructors

 o CharToBytePrintable
 public CharToBytePrintable()

Methods

 o getCharacterEncoding
 public String getCharacterEncoding()
 o isPrintableChar
 public static boolean isPrintableChar(char c)
 o convert
 public int convert(char input[],
                    int inStart,
                    int inEnd,
                    byte output[],
                    int outStart,
                    int outEnd) throws MalformedInputException, UnknownCharacterException, ConversionBufferFullException
 o flush
 public int flush(byte output[],
                  int outStart,
                  int outEnd) throws MalformedInputException, ConversionBufferFullException
 o reset
 public void reset()
 o getMaxBytesPerChar
 public int getMaxBytesPerChar()

All Packages  Class Hierarchy  This Package  Previous  Next  Index