Uses of Class
com.aoapps.security.Key
-
Uses of Key in com.aoapps.security
Modifier and TypeClassDescriptionfinal class
UnlikeKey
, which goes out of its way to protect the key, an unprotected key provides access to the key value.Modifier and TypeMethodDescriptionKey.clone()
HashedKey.Algorithm.validateKey
(Function<? super String, Ex> newThrowable, Key key) Modifier and TypeMethodDescriptionKey.valueOf
(byte[] key) Gets a new key orOptional.empty()
whenkey == null || key.length == 0
.Modifier and TypeMethodDescriptionbyte[]
Hashes the given key.boolean
Checks if this matches the provided key, alwaysfalse
when isHashedKey.NO_KEY
.HashedKey.Algorithm.validateKey
(Function<? super String, Ex> newThrowable, Key key)