org.opensc.util
Class Util

java.lang.Object
  extended by org.opensc.util.Util

public class Util
extends Object

Utilitiy functions for implementing PKCS11 wrappers.

Author:
wglas

Method Summary
static byte[] translatePin(char[] pin)
          Translate a character array to an utf-8 encoded byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

translatePin

public static byte[] translatePin(char[] pin)
Translate a character array to an utf-8 encoded byte array.

Parameters:
pin - The chracter array.
Returns:
The UTF-8 encaoded byte-equivalent.