rozdzial8
Class JCEKSStoreEntryExample

java.lang.Object
  extended byrozdzial8.JCEKSStoreEntryExample

public class JCEKSStoreEntryExample
extends java.lang.Object

Przykład wykorzystania repozytorium kluczy typu JCEKS z obiektami klas KeyStore.Entry i KeyStore.ProtectionParameter.


Field Summary
static char[] keyPassword
           
static char[] secretKeyPassword
           
 
Constructor Summary
JCEKSStoreEntryExample()
           
 
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
 

Field Detail

keyPassword

public static char[] keyPassword

secretKeyPassword

public static char[] secretKeyPassword
Constructor Detail

JCEKSStoreEntryExample

public JCEKSStoreEntryExample()
Method Detail

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