Package com.tccc.kos.commons.kab.keys
Class KabKeySet
java.lang.Object
com.tccc.kos.commons.kab.keys.KabKeySet
- All Implemented Interfaces:
KeySet
KetSet that loads key and cert from a STUIDO_KEY_SET kab file.
- Version:
- 2022-08-19
-
Constructor Details
-
KabKeySet
Create a new KeySet from the specified KAB file.- Parameters:
file
- the kab that contains the key / cert- Throws:
IOException
-
KabKeySet
Create a new KetSet from the specified kab.- Parameters:
kab
- the KAB file that contains the key / cert- Throws:
IOException
-
-
Method Details
-
getPrivateKey
Description copied from interface:KeySet
Return the private key- Specified by:
getPrivateKey
in interfaceKeySet
-
getCertPath
Description copied from interface:KeySet
Return the cert path- Specified by:
getCertPath
in interfaceKeySet
-
getMode
Description copied from interface:KeySet
Get the mode of the keySet -
getKab
-