Security Documentation
http://www.oracle.com/technetwork/java/index-139231.html
Java 1.5 Security Documentation
http://download.oracle.com/javase/1.5.0/docs/guide/security/index.html
Java Security Architecture Overview
http://download.oracle.com/javase/1.5.0/docs/guide/security/spec/security-spec.doc.html
Java Cryptography Architecture
http://download.oracle.com/javase/1.5.0/docs/guide/security/CryptoSpec.html
http://download.oracle.com/javase/1.4.2/docs/guide/security/jce/JCERefGuide.html
The JCE API covers:
|
Cryptographic Concepts Encryption and Decryption ncryption is the process of taking data (called cleartext) and a short string (a key), and producing data (ciphertext) meaningless to a third-party who does not know the key. Decryption is the inverse process: that of taking ciphertext and a short key string, and producing cleartext. Password-based Encryption Password-Based Encryption (PBE) derives an encryption key from a password. In order to make the task of getting from password to key very time-consuming for an attacker, most PBE implementations will mix in a random number, known as a salt, to create the key. Cipher Encryption and decryption are done using a cipher. A cipher is an object capable of carrying out encryption and decryption according to an encryption scheme (algorithm). Key Agreement Key agreement is a protocol by which 2 or more parties can establish the same cryptographic keys, without having to exchange any secret information. Message Authentication Code A Message Authentication Code (MAC) provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret key. Typically, message authentication codes are used between two parties that share a secret key in order to validate information transmitted between these parties. A MAC mechanism that is based on cryptographic hash functions is referred to as HMAC. HMAC can be used with any cryptographic hash function, e.g., MD5 or SHA-1, in combination with a secret shared key. HMAC is specified in RFC 2104. |
How to Implement a Provider for the JavaTM Cryptography Architecture
http://download.oracle.com/javase/1.5.0/docs/guide/security/HowToImplAProvider.html#Introduction
Java Security 기술
http://www.dal.kr/chair/javadoc/dist01/javasec.html
자바 암호화
http://blog.kangwoo.kr/44
Java Security Socket Extension
http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html
Java Security Tools
http://download.oracle.com/javase/6/docs/technotes/tools/index.html#security
No more 'unable to find valid certification path to requested target'
http://blogs.sun.com/andreas/entry/no_more_unable_to_find
HTTPS - is the URL string itself secure?
http://askville.amazon.com/HTTPS-URL-string-secure/AnswerViewer.do?requestId=773506
JSSE
SSL : Secure Socket Layer
TLS : Transport Layer Security
JSSE provide :
data encryption
server authentication
message integrity
optional client authentication
integrated with JDK1.4
The JSSE api can supports SSL 2.0/3.0 and TLS 1.0
The JSSE impl of SUN supports SSL 3.0 and TLS 1.0
JCA : Java Cryptography Architecture
JAAS : Java Authentication and Authorization Service
PKI : Public Key Infrastructure
SunJSSE Provider
DES : Data Encryption Standard
Secure Sockets Layer DocumentationOnline resources:
|
Gmail - configuring other mail clients
http://mail.google.com/support/bin/answer.py?hl=en&answer=13287
Incoming Mail (POP3) Server - requires SSL: | pop.gmail.com Use SSL: Yes Port: 995 |
Outgoing Mail (SMTP) Server - requires TLS or SSL: | smtp.gmail.com (use authentication) Use Authentication: Yes Port for TLS/STARTTLS: 587 Port for SSL: 465 |
Account Name: | your full email address (including @gmail.com or @your_domain.com) |
Email Address: | your email address (username@gmail.com or username@your_domain.com) |
Password: | your Gmail password |
keytool
http://download.oracle.com/javase/6/docs/technotes/tools/solaris/keytool.html
-list # keytool -list -keystore ${keystore.file} keytool -list -keystore jssecacerts -export # keytool -export -alias ${alias} -keystore ${keystore.file} -file ${file} keytool -export -alias smtp.gmail.com-1 -keystore jssecacerts.gmail -file smtp.gmail.com-1.cer -import # keytool -import -trustcacerts -file ${file} -keystore ${keystore.file} keytool -import -trustcacerts -file ./smtp.gmail.com-1.cer -keystore ./jssecacerts |
PKI (Public Key Infrastructure)
http://en.wikipedia.org/wiki/Public_key_infrastructure
X.509
http://en.wikipedia.org/wiki/X.509
Internet X.509 Public Key Infrastructure Certificate and CRL Profile
http://www.ietf.org/rfc/rfc2459.txt