public final class UALUtil
extends java.lang.Object
UAL requires native code contained in the UALJNI library; this
library must be installed on the machine in order to use this class. UAL should
only be used on machines that are physically secured.
| Modifier and Type | Method and Description |
|---|---|
static void |
bind(SecureStringBuffer password,
java.io.OutputStream ual)
Binds the given password to the machine by generating an Entrust Unattended
Login (UAL) file.
|
static ExtractedUALData |
extractPassword(java.io.InputStream ual)
Extracts the password stored and protected in an Entrust Unattended Login
(UAL) file.
|
public static void bind(SecureStringBuffer password, java.io.OutputStream ual) throws UALException
password - the password to be bound to the machineual - the output stream from which UAL file will be writtenUALException - if the bind operation failsjava.lang.SecurityException - if the Entrust CSP has not been installedpublic static ExtractedUALData extractPassword(java.io.InputStream ual) throws UALException
ual - the input stream from which the UAL file can be readUALException - if the UAL file is invalid or corruptjava.lang.SecurityException - if the Entrust CSP has not been installed