rozdzial8
Class JCEKSStoreEntryExample
java.lang.Object
rozdzial8.JCEKSStoreEntryExample
- public class JCEKSStoreEntryExample
- extends java.lang.Object
Przykład wykorzystania repozytorium kluczy typu JCEKS z obiektami klas KeyStore.Entry
i KeyStore.ProtectionParameter.
Method Summary |
static java.security.KeyStore |
createKeyStore()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyPassword
public static char[] keyPassword
secretKeyPassword
public static char[] secretKeyPassword
JCEKSStoreEntryExample
public JCEKSStoreEntryExample()
createKeyStore
public static java.security.KeyStore createKeyStore()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Przykłady do książki Kryptografia w Javie – Podstawy