oracle.adfnmc.util.device
Class DeviceStorage
java.lang.Object
oracle.adfnmc.util.device.DeviceStorage
public class DeviceStorage
- extends java.lang.Object
Method Summary |
protected static byte[] |
getBytes()
|
static void |
persist(java.lang.String sRMSStoreName,
byte[] bData)
Persists/ Stores the data in the record store with provided name |
static byte[] |
retrieveStoredData(java.lang.String sRMSStoreName)
Retrieves the data stored in the record store with provided name |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_INSTANCE
public static final java.lang.Class CLASS_INSTANCE
DeviceStorage
public DeviceStorage()
persist
public static void persist(java.lang.String sRMSStoreName,
byte[] bData)
throws java.lang.Exception
- Persists/ Stores the data in the record store with provided name
- Parameters:
sRMSStoreName
- - store name corresponding to which data needs to be
retrievedbData
- - Data in the byte array format to be stored.
- Throws:
java.lang.Exception
- if any exception happens
retrieveStoredData
public static byte[] retrieveStoredData(java.lang.String sRMSStoreName)
throws java.lang.Exception
- Retrieves the data stored in the record store with provided name
- Parameters:
sRMSStoreName
- - store name corresponding to which data needs to be retrieved
- Returns:
- byte array of decrypted data.
- Throws:
java.lang.Exception
- if any exception happens
getBytes
protected static final byte[] getBytes()
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.