public class SCertStore
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ENCODED_NAME_PREFIX
Prefix for encoded names.
|
Constructor and Description |
---|
SCertStore() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
allowPlain(java.lang.String name)
Check if plain name encoding is allowed.
|
static java.util.Map<java.lang.String,PemKeyPair> |
loadCertStore(byte[] storedata)
Loads the cert store.
|
static byte[] |
saveCertStore(java.util.Collection<PemKeyPair> certs)
Saves the cert store.
|
protected static final java.lang.String ENCODED_NAME_PREFIX
public static final java.util.Map<java.lang.String,PemKeyPair> loadCertStore(byte[] storedata)
storedata
- Cert store as binary.public static byte[] saveCertStore(java.util.Collection<PemKeyPair> certs)
certs
- The certs.protected static final boolean allowPlain(java.lang.String name)
name
- Name.