public class NCAUtil
extends java.lang.Object
| Constructor and Description |
|---|
NCAUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
generateRandomBytes(int length) |
static CloseableHttpResponse |
makeOCSPRequest(java.lang.String url,
byte[] data) |
static CloseableHttpResponse |
makeRequest(java.lang.String url,
byte[] data) |
static CloseableHttpResponse |
sendLoginRequest(Auth auth,
java.lang.String baseUrl) |
public static byte[] generateRandomBytes(int length)
public static CloseableHttpResponse sendLoginRequest(Auth auth,
java.lang.String baseUrl)
throws java.io.IOException
java.io.IOExceptionpublic static CloseableHttpResponse makeRequest(java.lang.String url,
byte[] data)
throws java.io.IOException
java.io.IOExceptionpublic static CloseableHttpResponse makeOCSPRequest(java.lang.String url,
byte[] data)
throws java.io.IOException
java.io.IOException