Skip to content

Commit

Permalink
FEAT: register %.jks file extension with DER codec
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Mar 28, 2020
1 parent 599e94f commit 305ed83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mezz/codec-der.r
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REBOL [
register-codec [
name: 'DER
title: "Distinguished Encoding Rules"
suffixes: [%.p12 %.pfx %.cer %.der]
suffixes: [%.p12 %.pfx %.cer %.der %.jks]
decode: function[data [binary!]][
if verbose > 0 [
print ["^/^[[1;32mDecode DER data^[[m (^[[1m" length? data "^[[mbytes )"]
Expand Down Expand Up @@ -112,7 +112,7 @@ register-codec [
;]
BIT_STRING [
if data/1 = 0 [data: next data]
;data: enbase/base data 2
;data: enbase data 2
]
INTEGER [
if data/1 = 0 [data: next data]
Expand Down

0 comments on commit 305ed83

Please sign in to comment.