mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 22:02:58 -04:00
git-subtree-dir: contrib/libder git-subtree-mainline: d11904b350214943dedb64c7121d4602799d7afd git-subtree-split: 9c40c4de4c33b2ba1124fb752ebea0bebaa6013f (cherry picked from commit 35c0a8c449fd2b7f75029ebed5e10852240f0865)
51 lines
1.2 KiB
Groff
51 lines
1.2 KiB
Groff
.\"
|
|
.\" SPDX-Copyright-Identifier: BSD-2-Clause
|
|
.\"
|
|
.\" Copyright (C) 2024 Kyle Evans <kevans@FreeBSD.org>
|
|
.\"
|
|
.Dd March 4, 2024
|
|
.Dt DERDUMP 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm derdump
|
|
.Nd dumping contents of DER encoded files
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Ar file1
|
|
.Oo Ar fileN ... Oc
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
utility dumps the contents of one or more DER encoded
|
|
Ar file
|
|
in a more human readable format.
|
|
This is similar to the
|
|
.Xr asn1parse 1
|
|
utility distributed with OpenSSL when used with the
|
|
.Fl inform
|
|
.Ar DER
|
|
option.
|
|
.Pp
|
|
A representation of the object will be output to
|
|
.Em stdout ,
|
|
with indentation to denote objects that are encoded within other constructed
|
|
objects.
|
|
Note that
|
|
.Nm
|
|
does not make much attempt to interpret the contents of any particular object.
|
|
If an object uses one of the universal types, then a friendly name will be
|
|
displayed for that object.
|
|
If an object uses any other type, then
|
|
.Nm
|
|
will display the raw hex value of the type used.
|
|
Values of primitive objects are output as raw hex, and no effort is made to
|
|
try and print a friendly representation.
|
|
.Sh SEE ALSO
|
|
.Xr asn1parse 1 ,
|
|
.Xr libder 3
|
|
.Sh BUGS
|
|
.Nm
|
|
does not currently make any attempt to render a type that uses the long encoded
|
|
format.
|
|
Instead, it will render as
|
|
.Dq { ... } .
|