public class ConfigUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EC_PRIVATE_KEY_FOOTER |
static String |
EC_PRIVATE_KEY_HEADER |
static String |
RSA_PRIVATE_KEY_FOOTER |
static String |
RSA_PRIVATE_KEY_HEADER |
| Constructor and Description |
|---|
ConfigUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasPrivateKeyContentWrapper(String key)
Check if the private key PEM has BEGIN content wrapper.
|
public static final String RSA_PRIVATE_KEY_HEADER
public static final String RSA_PRIVATE_KEY_FOOTER
public static final String EC_PRIVATE_KEY_HEADER
public static final String EC_PRIVATE_KEY_FOOTER
public static boolean hasPrivateKeyContentWrapper(String key)
key - the supplied private key PEM string.Copyright © 2017–2023 Okta. All rights reserved.