Which document I need to refer to implement HSPD-12 (and CAC) with OpenAM 12?
CAC cards utilise X.509 certificates, so you will need to use an X.509 Authentication Module for those.
Here is the official documentation for enabling X.509 Authentication, and here's a wiki entry for it too.