Package jadex.ipc.impl.security
Class SCertStore
java.lang.Object
jadex.ipc.impl.security.SCertStore
Class for loading / saving the certificate store.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static final boolean
allowPlain
(String name) Check if plain name encoding is allowed.static final Map
<String, PemKeyPair> loadCertStore
(byte[] storedata) Loads the cert store.static byte[]
saveCertStore
(Collection<PemKeyPair> certs) Saves the cert store.
-
Field Details
-
ENCODED_NAME_PREFIX
Prefix for encoded names.- See Also:
-
-
Constructor Details
-
SCertStore
public SCertStore()
-
-
Method Details
-
loadCertStore
Loads the cert store.- Parameters:
storedata
- Cert store as binary.- Returns:
- return Certs.
-
saveCertStore
Saves the cert store.- Parameters:
certs
- The certs.- Returns:
- Cert store as binary.
-
allowPlain
Check if plain name encoding is allowed.- Parameters:
name
- Name.- Returns:
- True, if allowed.
-