diff options
-rw-r--r-- | src/plop_compat.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plop_compat.erl b/src/plop_compat.erl index 4c212de..9a98e3d 100644 --- a/src/plop_compat.erl +++ b/src/plop_compat.erl @@ -22,6 +22,10 @@ unpack_spki("17", SPKI) -> unpack_spki("18", SPKI) -> #'SubjectPublicKeyInfo'{subjectPublicKey = Octets, algorithm = Algorithm} = SPKI, + {Octets, Algorithm}; +unpack_spki("19", SPKI) -> + #'SubjectPublicKeyInfo'{subjectPublicKey = Octets, + algorithm = Algorithm} = SPKI, {Octets, Algorithm}. %% <=R17: now/0, >=R18 timestamp/0 @@ -30,4 +34,6 @@ timestamp("R16" ++ _) -> timestamp("17") -> erlang:now(); timestamp("18") -> + erlang:timestamp(); +timestamp("19") -> erlang:timestamp(). |