public final class SslStorage extends Object
Modifier and Type | Method and Description |
---|---|
static void |
convertAndStore(CAList caList,
String name)
Converts CA lists from .PEM to binary format and stores them in nonvolatile
memory in encrypted form.
|
static void |
convertAndStore(Certificate certInfo,
String certName)
Converts certificates from .PEM to binary format and stores them in
nonvolatile memory in encrypted form.
|
public static void convertAndStore(CAList caList, String name) throws IOException
caList
- Information pertaining to the CA lists in .PEM format.name
- Name of the CA list that the caList
is to be stored
under after the conversion.IOException
- on error.public static void convertAndStore(Certificate certInfo, String certName) throws IOException
certInfo
- Information pertaining to the client certificate in .PEM
format.certName
- Name of the certificate that the certInfo
is to be
stored under after the conversion.IOException
- on error.