Class Base32Support
java.lang.Object
net.shibboleth.utilities.java.support.codec.Base32Support
Deprecated, for removal: This API element is subject to removal in a future version.
Stub for deprecation.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDeprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]Deprecated, for removal: This API element is subject to removal in a future version.Decodes (un)chunked Base32 encoded data.static Stringencode(byte[] data, boolean chunked) Deprecated, for removal: This API element is subject to removal in a future version.Base32 encodes the given binary data.
-
Constructor Details
-
Base32Support
private Base32Support()Deprecated, for removal: This API element is subject to removal in a future version.Constructor.
-
-
Method Details
-
encode
@Nonnull public static String encode(@Nonnull byte[] data, boolean chunked) throws EncodingException Deprecated, for removal: This API element is subject to removal in a future version.Base32 encodes the given binary data.- Parameters:
data- data to encodechunked- whether the encoded data should be chunked or not- Returns:
- the base32 encoded data
- Throws:
EncodingException- when anyExceptionis thrown from the underlying encoder, or the output is null.
-
decode
Deprecated, for removal: This API element is subject to removal in a future version.Decodes (un)chunked Base32 encoded data.- Parameters:
data- Base32 encoded data- Returns:
- the decoded data
- Throws:
DecodingException- when anExceptionis thrown from the underlying decoder, or the output is null.
-