Limit search to available items
Book Cover
E-book
Author Knudsen, Jonathan

Title Java cryptography / Jonathan Knudsen
Edition 1st ed
Published Sebastopol, Calif. : O'Reilly, ©1998

Copies

Description 1 online resource (xvi, 344) : illustrations
Series Java series
Java series (O'Reilly & Associates)
Contents Who Are You? -- About This Book -- What's Not in This Book -- About the Examples -- Versions -- File Naming -- CLASSPATH -- Variable Naming -- Downloading -- Font Conventions -- Request for Comments -- 1. Introduction -- Secure Systems -- Cryptography -- Platform Security -- Astute Inequalities -- Hello, zoT1wy -- 1. njA0=! -- Masher -- SecretWriting -- 2. Concepts -- Confidentiality -- Symmetric Ciphers -- Asymmetric Ciphers -- Hybrid Systems -- Distributing Keys -- Key Agreement Protocols -- Integrity -- Authentication -- Certificates -- Certificate Chains -- Random Numbers -- Algorithms
Size Does MatterNames and Numbers -- MD5 -- SHA-1 -- HmacMD5 and HmacSHA1 -- DSA -- ElGamal signatures -- DES -- DESede -- PBEWithMD5AndDES -- ElGamal ciphers -- DH -- 3. Architecture -- Alphabet Soup -- Concept Classes -- API and SPI -- Factory Methods -- Standard Names -- The Provider Architecture -- Key Management -- Summary -- 4. Random Numbers -- SecureRandom -- Self-Seeding -- Keyboard Timing -- Seeder -- Counter -- Pitfalls -- SeederDialog -- 5. Key Management -- Keys -- Key Generators -- KeyPairGenerator -- KeyGenerator -- Algorithm-Specific Initialization -- Key Translators -- SecretKeySpec -- SecretKeyFactory -- From things to keys
From keys to thingsKeyFactory -- Key Agreement -- Diffie-Hellman -- javax.crypto. KeyAgreement -- SKIP -- SkipServer -- SkipClient -- Skipper: Multiparty key agreement -- The Identity Key Management Paradigm -- Key Holders -- Principal -- Identity -- Signer -- IdentityScope -- KeyManager -- The KeyStore Key Management Paradigm -- KeyStore -- Getting -- Loading and saving -- Adding private key entries -- Adding trusted certificate entries -- Retrieving entries -- keytool -- Creating a key pair -- Ubiquitous options and defaults -- Inspecting the keystore -- Generating a CSR -- Importing certificates -- Other options
Changing the default keystore class -- 6. Authentication -- Message Digests -- Getting -- Feeding -- Digesting -- One, Two, Three! -- Digest Streams -- Protected Password Login -- Double-Strength Password Login -- MACs -- Setting Up -- Feeding -- Calculating the Code -- For Instance -- Signatures -- Generating a Signature -- Verifying a Signature -- Hancock -- Login, Again -- SignedObject -- Certificates -- java.security.cert. Certificate -- Generating a Certificate -- Verifying a Certificate -- X.509 -- Spill -- Certificate Revocation Lists -- 7. Encryption -- Streams and Blocks -- Block Ciphers -- Padding -- PKCS#5 -- Other padding schemes
ModesECB -- CBC -- PCBC -- CFB -- OFB -- Other modes -- Algorithms -- javax.crypto. Cipher -- Getting a Cipher -- Basic Information -- Initializing a Cipher -- Generic -- Name brand -- Feeding Data to a Cipher -- Cipher's Close Relatives -- Cipher Streams -- javax.crypto. SealedObject -- Passphrase Encryption -- Salt and Vinegar -- Test Drive -- Inside Cipher -- SPI -- Setup -- Basic information -- Initializing -- Feeding -- BlockCipher -- CBCWrapper -- CFBWrapper -- Hybrid Systems -- PGP -- S/MIME -- SSL -- Sources -- Using the browser -- SET -- 8. Signed Applets -- Renegade -- HotJava -- Prepare a Signer -- Bundle the Applet -- Sign the Applet -- Test the Applet
Set Up the Browser
Summary Cryptography, the science of secret writing, is the biggest, baddest security tool in the application programmer's arsenal. Cryptography provides three services that are crucial in secure programming. These include a cryptographic cipher that protects the secrecy of your data; cryptographic certificates, which prove identity (authentication); and digital signatures, which ensure your data has not been damaged or tampered with. This book covers cryptographic programming in Java. Java 1.1 and Java 1.2 provide extensive support for cryptography with an elegant architecture, the Java Cryptography Architecture (JCA). Another set of classes, the Java Cryptography Extension (JCE), provides additional cryptographic functionality. This book covers the JCA and the JCE from top to bottom, describing the use of the cryptographic classes as well as their innards. The book is designed for moderately experienced Java programmers who want to learn how to build cryptography into their applications. No prior knowledge of cryptography is assumed. The book is peppered with useful examples, ranging from simple demonstrations in the first chapter to full-blown applications in later chapters. Topics include: The Java Cryptography Architecture (JCA) The Java Cryptography Extension (JCE) Cryptographic providers The Sun key management tools Message digests, digital signatures, and certificates (X509v3) Block and stream ciphers Implementations of the ElGamal signature and cipher algorithms A network talk application that encrypts all data sent over the network An email application that encrypts its messagesCovers JDK 1.2 and JCE 1.2
Bibliography Includes bibliographical references and index
Notes Print version record
Subject Java (Computer program language)
Data encryption (Computer science)
Cryptography
Data encryption (Computer science)
Cryptography
Data encryption (Computer science)
Java (Computer program language)
Form Electronic book
LC no. 00500283
ISBN 0585032297
9780585032290
9781565924024
1565924029
9781449391263
1449391265
9781449390617
1449390617