Lab 08: Security — JCA/JCE
Overview
Step 1: JCA Provider Architecture
JCA Provider Model:
Application
│
Security.getProvider("SunEC") / "SunJCE" / "SunJSSE"
│
┌───▼──────────────────────────────────────────┐
│ Provider (SunEC, Bouncy Castle, PKCS#11...) │
│ - KeyPairGenerator("EC") │
│ - Signature("SHA256withECDSA") │
│ - KeyAgreement("ECDH") │
│ - Cipher("AES/GCM/NoPadding") │
│ - SecretKeyFactory("PBKDF2WithHmacSHA256") │
└──────────────────────────────────────────────┘Step 2: EC P-256 Key Pair Generation
Step 3: ECDSA Signatures
Step 4: ECDH Key Agreement
Step 5: PBKDF2 Key Derivation
Step 6: AES-GCM Authenticated Encryption
Step 7: KeyStore — PKCS#12
Step 8: Capstone — Full JCA Demo
Summary
Algorithm
Class
Standard
Last updated
