| 
 | Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.management.EncryptionHelper
public final class EncryptionHelper
This class contains convenience methods for accessing encrypted MBean attributes.
| Constructor Summary | |
|---|---|
| EncryptionHelper() | |
| Method Summary | |
|---|---|
| static byte[] | clear(byte[] bytes)Clears the byte array by replacing each byte with a zero. | 
| static byte[] | encrypt(byte[] bytes)Encrypts a byte array. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EncryptionHelper()
| Method Detail | 
|---|
public static final byte[] encrypt(byte[] bytes)
                            throws weblogic.security.internal.encryption.EncryptionServiceException
Encrypts a byte array.
A JMX client that invokes setter methods for encrypted attributes in WebLogic Server MBeans 
 does not need to invoke this encrypt(byte[] bytes) method: the MBean's 
 setter method is responsible for converting its parameter data to a byte array and encrypting 
 the data. 
bytes - A byte array.
weblogic.security.internal.encryption.EncryptionServiceExceptionpublic static byte[] clear(byte[] bytes)
Clears the byte array by replacing each byte with a zero. .
bytes - A byte array.
| 
 | Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||