Skip to content

protocol7/smime-java-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic examples of how to work with S/MIME messages in Java. Adopted from the Bouncy Castle examples.

1. Run com.protocol7.smime.MakeCerts to create a local keystore (stored in the file "keystore") 
2. Run com.protocol7.smime.Sign to create a signed message (stored in the file "signed.message")
3. Run com.protocol7.smime.Verify to verify the signed message. Will fail due to the certificate being non-trusted, but you get the point

About

Example code of how to work with S/MIME messages in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages