public class X509CertChainUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<X509Certificate> |
parse(List<Base64> b64List)
Parses a X.509 certificate chain from the specified Base64-encoded
DER-encoded representation.
|
static List<Base64> |
toBase64List(net.minidev.json.JSONArray jsonArray)
Converts the specified JSON array of strings to a list of Base64
encoded objects.
|
public static List<Base64> toBase64List(net.minidev.json.JSONArray jsonArray) throws ParseException
jsonArray
- The JSON array of string, null
if not
specified.null
if not specified.ParseException
- If parsing failed.public static List<X509Certificate> parse(List<Base64> b64List) throws ParseException
b64List
- The Base64-encoded DER-encoded X.509 certificate
chain, null
if not specified.null
if not specified.ParseException
- If parsing failed.Copyright © 2018 Connect2id Ltd.. All rights reserved.