32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott/*
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * The contents of this file are subject to the terms of the Common Development and
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * Distribution License (the License). You may not use this file except in compliance with the
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * License.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell *
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * specific language governing permission and limitations under the License.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell *
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * When distributing Covered Software, include this CDDL Header Notice in each file and include
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * Header, with the fields enclosed by brackets [] replaced by your own identifying
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * information: "Portions copyright [year] [name of copyright owner]".
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell *
2229ffbfe08c2cd606c305f8934e627548002c9eCraig McDonnell * Copyright 2015-2016 ForgeRock AS.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell *
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell * Portions Copyright 2010 Markus Gutschke, Google Inc.
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott */
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott/*************************************************************************
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * Base32 encode and decode functions.
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott *
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * Padding:
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * The RFC defines that encoding is performed in quantums of 8 encoded
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * characters. If the output string is less than a full quantum, it
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * will be padded with the '=' character to make a full quantum.
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott *
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * Return/Error:
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * All functions return the number of output bytes or -1 on error.
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott *
Error!

 

There was an error!

null

java.lang.NullPointerException