.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "JOSE\-JWK\-THP" "1" "June 2017" "" "" . .SH "NAME" \fBjose\-jwk\-thp\fR \- Calculates the JWK thumbprint . .SH "SYNOPSIS" \fBjose jwk thp\fR \-i JWK [\-H ALG] [\-o THP] . .SH "OVERVIEW" The \fBjose jwk thp\fR command calculates the thumbprint of one or more JWKs\. . .SH "OPTIONS" . .TP \fB\-i\fR \fIJSON\fR, \fB\-\-input\fR=\fIJSON\fR Parse JWK(Set) from JSON . .TP \fB\-i\fR \fIFILE\fR, \fB\-\-input\fR=\fIFILE\fR Read JWK(Set) from FILE . .TP \fB\-i\fR \-, \fB\-\-input\fR=\- Read JWK(Set) standard input . .TP \fB\-a\fR \fIALG\fR, \fB\-\-algorithm\fR=\fIALG\fR Use the specified hash algorithm (case sensitive) . .TP \fB\-a\fR ?, \fB\-\-algorithm\fR=? List available hash algorithms . .TP \fB\-o\fR \fIFILE\fR, \fB\-\-output\fR=\fIFILE\fR Write thumbprint(s) to FILE . .TP \fB\-o\fR \-, \fB\-\-output\fR=\- Write thumbprint(s) to standard input . .TP \fB\-f\fR \fITHP\fR, \fB\-\-find\fR=\fITHP\fR Search input keys for JWK with the given thumbprint . .SH "EXAMPLES" Calculate the S1 thumbprint of a newly generated key: . .IP "" 4 . .nf $ jose jwk gen \-i \'{"alg":"ES256"}\' \-a S1 | jose jwk thp \-i\- BzmSH6W8a8LlbQ1mD0iBJdYj4x4 . .fi . .IP "" 0 . .P Calculate the S256 thumbprints of a JWKSet containing two keys: . .IP "" 4 . .nf $ jose jwk thp \-i keys\.jwkset \-a S256 6HJwXEuRh8gAkTz4BodEvcEj_KXkgjc\-7Qez3d4VNMs jo_j_O5gqYpKcZKHPp3miTszAeV60MXHvdb_kkjjTWE . .fi . .IP "" 0 . .P Find the input key with the given thumbprint: . .IP "" 4 . .nf $ jose jwk thp \-i keys\.jwkset \-f HYRNOxxOOHap0amTONoy1bHnS5M \-o key\.jwk . .fi . .IP "" 0 . .SH "AUTHOR" Nathaniel McCallum . .SH "SEE ALSO" \fBjose\-alg\fR(1), \fBjose\-jwk\-gen\fR(1),