|
Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager Release 11g (11.1.1) E15864-02 |
|||||||||
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 java.lang.String |
authentiPadMessageResource |
static java.lang.String |
authentiPadResource |
Constructor Summary | |
---|---|
KeyPadUtil() |
Method Summary | |
---|---|
static java.lang.String |
assignCaptionTextToUser() Deprecated. |
static java.lang.String |
assignCaptionTextToUser(java.util.Locale aLocale) |
protected static java.lang.String |
assignCaptionTextToUser(java.lang.String[] word2List, java.lang.String[] word1List) |
protected static java.lang.String |
assignCaptionTextToUser(java.lang.String word2ListProp, java.lang.String word1ListProp, java.util.Locale aLocale) |
static java.lang.String |
assignImageToUser() |
static java.lang.String |
assignImageToUser(java.lang.String imageDirsProp) |
static void |
createEncryptedKeyPad(AuthentiPad keypad) |
static void |
createEncryptedKeyPad(AuthentiPad keypad, AuthentiConfig authConfig) |
static java.lang.String |
decodeKeyPadCode(AuthentiKey authKey, AuthentiConfig authConfig, java.lang.String vCryptPinData) This method decodes the user input and returns the raw data entered. |
static java.lang.String |
decodeKeyPadCode(AuthentiPad authPad, java.lang.String vCryptPinData) This method decodes the user input and returns the raw data entered. |
static java.io.OutputStream |
encryptImageToStream(AuthentiPad keyPad, AuthentiConfig authConfig, java.io.OutputStream os) |
static java.io.OutputStream |
encryptImageToStream(AuthentiPad keyPad, java.io.OutputStream os) |
static java.io.OutputStream |
encryptImageToStream(java.io.File imageFile, java.lang.String outputType, java.io.OutputStream os) |
static java.lang.String |
getDefaultCaption() |
static java.lang.String |
getDefaultCaption(java.util.Locale aLocale) |
static java.lang.String |
getDefaultImage() |
static java.awt.image.BufferedImage |
getEncryptedBufferedImage(AuthentiPad keypad) |
static java.awt.image.BufferedImage |
getEncryptedBufferedImage(AuthentiPad keypad, AuthentiConfig authConfig) |
static java.io.File |
getFile(java.lang.String fileName) This method gets the File object for the fileName/filePath. |
static KeyDetail |
getKeyDetail(AuthentiKey authKey, AuthentiConfig authConfig, int index) |
static java.lang.String |
getSkinDir(java.lang.String skinDirList) |
static java.util.TimeZone |
getTimezone(java.lang.String offsetStr) |
static java.util.Vector |
getVectorData(java.lang.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 java.lang.String authentiPadResource
public static final java.lang.String authentiPadMessageResource
Constructor Detail |
---|
public KeyPadUtil()
Method Detail |
---|
public static java.io.File getFile(java.lang.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 java.awt.image.BufferedImage getEncryptedBufferedImage(AuthentiPad keypad) throws ObjectNotCreatedException
ObjectNotCreatedException
public static java.awt.image.BufferedImage getEncryptedBufferedImage(AuthentiPad keypad, AuthentiConfig authConfig) throws ObjectNotCreatedException
ObjectNotCreatedException
public static java.io.OutputStream encryptImageToStream(AuthentiPad keyPad, java.io.OutputStream os) throws ObjectNotCreatedException
ObjectNotCreatedException
public static java.io.OutputStream encryptImageToStream(AuthentiPad keyPad, AuthentiConfig authConfig, java.io.OutputStream os) throws ObjectNotCreatedException
ObjectNotCreatedException
public static java.io.OutputStream encryptImageToStream(java.io.File imageFile, java.lang.String outputType, java.io.OutputStream os) throws ObjectNotCreatedException
ObjectNotCreatedException
public static java.lang.String decodeKeyPadCode(AuthentiPad authPad, java.lang.String vCryptPinData)
authPad
- a AuthentiPad
which was presented to the user.vCryptPinData
- The encrypted data the user entered.public static java.lang.String decodeKeyPadCode(AuthentiKey authKey, AuthentiConfig authConfig, java.lang.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 java.lang.String assignCaptionTextToUser(java.util.Locale aLocale)
public static java.lang.String assignCaptionTextToUser()
protected static java.lang.String assignCaptionTextToUser(java.lang.String word2ListProp, java.lang.String word1ListProp, java.util.Locale aLocale)
protected static java.lang.String assignCaptionTextToUser(java.lang.String[] word2List, java.lang.String[] word1List)
public static java.lang.String assignImageToUser()
public static java.lang.String assignImageToUser(java.lang.String imageDirsProp)
public static java.util.Vector getVectorData(java.lang.String stringList)
public static java.lang.String getSkinDir(java.lang.String skinDirList) throws ObjectNotCreatedException
ObjectNotCreatedException
public static boolean isUseDefaultImage()
public static boolean isUseDefaultCaption()
public static java.lang.String getDefaultImage()
public static java.lang.String getDefaultCaption()
public static java.lang.String getDefaultCaption(java.util.Locale aLocale)
public static java.util.TimeZone getTimezone(java.lang.String offsetStr)
public static KeyDetail getKeyDetail(AuthentiKey authKey, AuthentiConfig authConfig, int index)
|
Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager Release 11g (11.1.1) E15864-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |