Class Secret
java.lang.Object
com.liferay.portal.security.key.secret.Secret
- All Implemented Interfaces:
AutoCloseable,Destroyable
-
Constructor Summary
ConstructorsConstructorDescriptionSecret(byte[] bytes, KeyReference keyReference) Secret(char[] chars, KeyReference keyReference) Secret(KeyReference keyReference, String value) -
Method Summary
-
Constructor Details
-
Secret
-
Secret
-
Secret
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
getBytes
public byte[] getBytes() -
getChars
public char[] getChars() -
getKeyReference
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-