Package jadex.commons.security
Class SCertStore
- java.lang.Object
 - 
- jadex.commons.security.SCertStore
 
 
- 
public class SCertStore extends java.lang.ObjectClass for loading / saving the certificate store. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringENCODED_NAME_PREFIXPrefix for encoded names. 
- 
Constructor Summary
Constructors Constructor Description SCertStore() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static booleanallowPlain(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. 
 - 
 
- 
- 
Field Detail
- 
ENCODED_NAME_PREFIX
protected static final java.lang.String ENCODED_NAME_PREFIX
Prefix for encoded names.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
loadCertStore
public static final java.util.Map<java.lang.String,PemKeyPair> loadCertStore(byte[] storedata)
Loads the cert store.- Parameters:
 storedata- Cert store as binary.- Returns:
 - return Certs.
 
 
- 
saveCertStore
public static byte[] saveCertStore(java.util.Collection<PemKeyPair> certs)
Saves the cert store.- Parameters:
 certs- The certs.- Returns:
 - Cert store as binary.
 
 
- 
allowPlain
protected static final boolean allowPlain(java.lang.String name)
Check if plain name encoding is allowed.- Parameters:
 name- Name.- Returns:
 - True, if allowed.
 
 
 - 
 
 -