|
Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager 11g Release 2 (11.1.2) E27208-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bharosa.vcrypt.auth.keypad.KeyPadUtil
public class KeyPadUtil
This class has the utility method to get the keypad and also to decode it. All methods in this class are static methods.
Field Summary | |
---|---|
static String |
authentiPadMessageResource |
static String |
authentiPadResource |
Constructor Summary | |
---|---|
KeyPadUtil() |
Method Summary | |
---|---|
static String |
assignCaptionTextToUser() Deprecated. |
static String |
assignCaptionTextToUser(Locale aLocale) |
protected static String |
assignCaptionTextToUser(String[] word2List, String[] word1List) |
protected static String |
assignCaptionTextToUser(String word2ListProp, String word1ListProp, Locale aLocale) |
static String |
assignImageToUser() |
static String |
assignImageToUser(String imageDirsProp) |
static void |
createEncryptedKeyPad(AuthentiPad keypad) |
static void |
createEncryptedKeyPad(AuthentiPad keypad, AuthentiConfig authConfig) |
static String |
decodeKeyPadCode(AuthentiKey authKey, AuthentiConfig authConfig, String vCryptPinData) This method decodes the user input and returns the raw data entered. |
static String |
decodeKeyPadCode(AuthentiPad authPad, String vCryptPinData) This method decodes the user input and returns the raw data entered. |
static OutputStream |
encryptImageToStream(AuthentiPad keyPad, AuthentiConfig authConfig, OutputStream os) |
static OutputStream |
encryptImageToStream(AuthentiPad keyPad, OutputStream os) |
static OutputStream |
encryptImageToStream(File imageFile, String outputType, OutputStream os) |
static String |
getDefaultCaption() |
static String |
getDefaultCaption(Locale aLocale) |
static String |
getDefaultImage() |
static BufferedImage |
getEncryptedBufferedImage(AuthentiPad keypad) |
static BufferedImage |
getEncryptedBufferedImage(AuthentiPad keypad, AuthentiConfig authConfig) |
static File |
getFile(String fileName) This method gets the File object for the fileName/filePath. |
static KeyDetail |
getKeyDetail(AuthentiKey authKey, AuthentiConfig authConfig, int index) |
static String |
getSkinDir(String skinDirList) |
static TimeZone |
getTimezone(String offsetStr) |
static Vector |
getVectorData(String stringList) |
static boolean |
isUseDefaultCaption() |
static boolean |
isUseDefaultImage() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String authentiPadResource
public static final String authentiPadMessageResource
Constructor Detail |
---|
public KeyPadUtil()
Method Detail |
---|
public static File getFile(String fileName)
fileName
- The file name. It could contain the part of the file path also.File
object if the file is found. Else it will return a null object.public static void createEncryptedKeyPad(AuthentiPad keypad) throws ObjectNotCreatedException
ObjectNotCreatedException
public static void createEncryptedKeyPad(AuthentiPad keypad, AuthentiConfig authConfig) throws ObjectNotCreatedException
ObjectNotCreatedException
public static BufferedImage getEncryptedBufferedImage(AuthentiPad keypad) throws ObjectNotCreatedException
ObjectNotCreatedException
public static BufferedImage getEncryptedBufferedImage(AuthentiPad keypad, AuthentiConfig authConfig) throws ObjectNotCreatedException
ObjectNotCreatedException
public static OutputStream encryptImageToStream(AuthentiPad keyPad, OutputStream os) throws ObjectNotCreatedException
ObjectNotCreatedException
public static OutputStream encryptImageToStream(AuthentiPad keyPad, AuthentiConfig authConfig, OutputStream os) throws ObjectNotCreatedException
ObjectNotCreatedException
public static OutputStream encryptImageToStream(File imageFile, String outputType, OutputStream os) throws ObjectNotCreatedException
ObjectNotCreatedException
public static String decodeKeyPadCode(AuthentiPad authPad, String vCryptPinData)
authPad
- a AuthentiPad
which was presented to the user.vCryptPinData
- The encrypted data the user entered.public static String decodeKeyPadCode(AuthentiKey authKey, AuthentiConfig authConfig, String vCryptPinData)
authKey
- an AuthentiKey
which contains the required information to decode the AuthentiPad displayed to the user.vCryptPinData
- The encrypted data the user entered.public static String assignCaptionTextToUser(Locale aLocale)
public static String assignCaptionTextToUser()
protected static String assignCaptionTextToUser(String word2ListProp, String word1ListProp, Locale aLocale)
protected static String assignCaptionTextToUser(String[] word2List, String[] word1List)
public static String assignImageToUser()
public static String assignImageToUser(String imageDirsProp)
public static Vector getVectorData(String stringList)
public static String getSkinDir(String skinDirList) throws ObjectNotCreatedException
ObjectNotCreatedException
public static boolean isUseDefaultImage()
public static boolean isUseDefaultCaption()
public static String getDefaultImage()
public static String getDefaultCaption()
public static String getDefaultCaption(Locale aLocale)
public static TimeZone getTimezone(String offsetStr)
public static KeyDetail getKeyDetail(AuthentiKey authKey, AuthentiConfig authConfig, int index)
|
Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager 11g Release 2 (11.1.2) E27208-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |