The Lisp constants SSL_FILETYPE_ASN1 and SSL_FILETYPE_PEM representing file types are provided.
SSL_FILETYPE_ASN1
SSL_FILETYPE_PEM
LispWorks User Guide and Reference Manual - 21 Dec 2011