Package com.yubico.yubikit.core.util
Class StringUtils
java.lang.Object
com.yubico.yubikit.core.util.StringUtils
Utility methods for Strings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringbytesToHex(byte[] byteArray) Helper method that convert byte array into string for loggingstatic StringbytesToHex(byte[] byteArray, int offset, int size) Helper method that convert byte array into string for logging
-
Method Details
-
bytesToHex
Helper method that convert byte array into string for logging- Parameters:
byteArray- array of bytes- Returns:
- string representation of byte array
-
bytesToHex
Helper method that convert byte array into string for logging- Parameters:
byteArray- array of bytesoffset- the offset within byteArraysize- the size of array- Returns:
- string representation of byte array
-