.
#
# -bugsto address
# For man pages, include a section about reporting bugs and mention
# the given e-mail address, e.g 'bug-libidn@gnu.org'.
#
# -pkg-name packagename
# For man pages when -bugsto is used, also include the name of
# the project's home page. For example, "GNU Libidn".
#
# -pkg-url packageurl
# For man pages when -bugsto is used, also include the URL to the
# the project's home page. For example, "https://www.gnu.org/software/libidn/".
#
# -seeinfo infonode
# For man pages, include a section that point to an info manual
# for more information.
#
# -copyright notice
# For man pages, include a copyright section with the given
# notice after a preamble. Use, e.g., '2002, 2003 Simon Josefsson'.
#
# -verbatimcopying
# For man pages, and when the -copyright parameter is used,
# add a licensing statement that say verbatim copying is permitted.
#
# -function funcname
# If set, then only generate documentation for the given function(s). All
# other functions are ignored.
#
# c files - list of 'c' files to process
#
# All output goes to stdout, with errors to stderr.
#
# format of comments.
# In the following table, (...)? signifies optional structure.
# (...)* signifies 0 or more structure elements
# /**
# * function_name(:)? (- short description)?
# (* @parameterx: (description of parameter x)?)*
# (* a blank line)?
# * (Description:)? (Description of function)?
# * (Section header: (section description)? )*
# (*)?*/
#
# So .. the trivial example would be:
#
# /**
# * my_function
# **/
#
# If the Description: header tag is ommitted, then there must be a blank line
# after the last parameter specification.
# e.g.
# /**
# * my_function - does my stuff
# * @my_arg: its mine damnit
# *
# * Does my stuff explained.
# */
#
# or, could also use:
# /**
# * my_function - does my stuff
# * @my_arg: its mine damnit
# * Description: Does my stuff explained.
# */
# etc.
#
# All descriptions can be multiline, apart from the short function description.
#
# All descriptive text is further processed, scanning for the following special
# patterns, which are highlighted appropriately.
#
# 'funcname()' - function
# '$ENVVAR' - environmental variable OBSOLETE (?)
# '#struct_name' - name of a structure
# '@parameter' - name of a parameter
# '%CONST' - name of a constant.
#
# Extensions for LaTeX:
#
# 1. the symbol '->' will be replaced with a rightarrow
# 2. x^y with ${x}^{y}$.
# 3. xxx\: with xxx:
use POSIX qw(strftime);
# match expressions used to find embedded type information
$type_constant = "\\\%(\\w+)";
$type_func = "(\\w+\\(\\))";
$type_param = "\\\@(\\w+)";
$type_struct = "\\\#(\\w+)";
$type_env = "(\\\$\\w+)";
# Output conversion substitutions.
# One for each output format
# these work fairly well
%highlights_html = ( $type_constant, "\$1",
$type_func, "\$1",
$type_struct, "\$1",
$type_param, "\$1" );
$blankline_html = "";
%highlights_texinfo = ( $type_constant, "\\\@code{\$1}",
$type_func, "\\\@code{\$1}",
$type_struct, "\\\@code{\$1}",
$type_param, "\\\@code{\$1}" );
$blankline_texinfo = "";
%highlights_tex = ( $type_constant, "{\\\\it \$1}",
$type_func, "{\\\\bf \$1}",
$type_struct, "{\\\\it \$1}",
$type_param, "{\\\\bf \$1}" );
$blankline_tex = "\\\\";
# sgml, docbook format
%highlights_sgml = ( $type_constant, "\$1",
$type_func, "\$1",
$type_struct, "\$1",
$type_env, "\$1",
$type_param, "\$1" );
$blankline_sgml = "\n";
# these are pretty rough
%highlights_man = ( $type_constant, "\\\\fB\$1\\\\fP",
$type_func, "\\\\fB\$1\\\\fP",
$type_struct, "\\\\fB\$1\\\\fP",
$type_param, "\\\\fI\$1\\\\fP" );
$blankline_man = "";
# text-mode
%highlights_text = ( $type_constant, "\$1",
$type_func, "\$1",
$type_struct, "\$1",
$type_param, "\$1" );
$blankline_text = "";
sub usage {
print "Usage: $0 [ -v ] [ -docbook | -html | -text | -man | -tex | -texinfo | -listfunc ]\n";
print " [ -sourceversion verno ] [ -include file | -includefuncprefix ]\n";
print " [ -bugsto address ] [ -seeinfo infonode ] [ -copyright notice]\n";
print " [ -verbatimcopying ] [ -pkg-name packagename ] [ -pkg-url packageurl ]\n";
print " [ -function funcname [ -function funcname ...] ]\n";
print " c source file(s) > outputfile\n";
exit 1;
}
# read arguments
if ($#ARGV==-1) {
usage();
}
$verbose = 0;
$output_mode = "man";
%highlights = %highlights_man;
$blankline = $blankline_man;
$modulename = "API Documentation";
$sourceversion = strftime "%Y-%m-%d", localtime;
$function_only = 0;
while ($ARGV[0] =~ m/^-(.*)/) {
$cmd = shift @ARGV;
if ($cmd eq "-html") {
$output_mode = "html";
%highlights = %highlights_html;
$blankline = $blankline_html;
} elsif ($cmd eq "-man") {
$output_mode = "man";
%highlights = %highlights_man;
$blankline = $blankline_man;
} elsif ($cmd eq "-tex") {
$output_mode = "tex";
%highlights = %highlights_tex;
$blankline = $blankline_tex;
} elsif ($cmd eq "-texinfo") {
$output_mode = "texinfo";
%highlights = %highlights_texinfo;
$blankline = $blankline_texinfo;
} elsif ($cmd eq "-text") {
$output_mode = "text";
%highlights = %highlights_text;
$blankline = $blankline_text;
} elsif ($cmd eq "-docbook") {
$output_mode = "sgml";
%highlights = %highlights_sgml;
$blankline = $blankline_sgml;
} elsif ($cmd eq "-listfunc") {
$output_mode = "listfunc";
} elsif ($cmd eq "-module") { # not needed for sgml, inherits from calling document
$modulename = shift @ARGV;
} elsif ($cmd eq "-sourceversion") {
$sourceversion = shift @ARGV;
} elsif ($cmd eq "-include") {
$include = shift @ARGV;
} elsif ($cmd eq "-includefuncprefix") {
$includefuncprefix = 1;
} elsif ($cmd eq "-bugsto") {
$bugsto = shift @ARGV;
} elsif ($cmd eq "-pkg-name") {
$pkgname = shift @ARGV;
} elsif ($cmd eq "-pkg-url") {
$pkgurl = shift @ARGV;
} elsif ($cmd eq "-copyright") {
$copyright = shift @ARGV;
} elsif ($cmd eq "-verbatimcopying") {
$verbatimcopying = 1;
} elsif ($cmd eq "-seeinfo") {
$seeinfo = shift @ARGV;
} elsif ($cmd eq "-function") { # to only output specific functions
$function_only = 1;
$function = shift @ARGV;
$function_table{$function} = 1;
} elsif ($cmd eq "-v") {
$verbose = 1;
} elsif (($cmd eq "-h") || ($cmd eq "--help")) {
usage();
}
}
##
# dumps section contents to arrays/hashes intended for that purpose.
#
sub dump_section {
my $name = shift @_;
my $contents = join "\n", @_;
if ($name =~ m/$type_constant/) {
$name = $1;
# print STDERR "constant section '$1' = '$contents'\n";
$constants{$name} = $contents;
} elsif ($name =~ m/$type_param/) {
# print STDERR "parameter def '$1' = '$contents'\n";
$name = $1;
$parameters{$name} = $contents;
} else {
# print STDERR "other section '$name' = '$contents'\n";
$sections{$name} = $contents;
push @sectionlist, $name;
}
}
##
# output function
#
# parameters, a hash.
# function => "function name"
# parameterlist => @list of parameters
# parameters => %parameter descriptions
# sectionlist => @list of sections
# sections => %descriont descriptions
#
sub repstr {
$pattern = shift;
$repl = shift;
$match1 = shift;
$match2 = shift;
$match3 = shift;
$match4 = shift;
$output = $repl;
$output =~ s,\$1,$match1,g;
$output =~ s,\$2,$match2,g;
$output =~ s,\$3,$match3,g;
$output =~ s,\$4,$match4,g;
eval "\$return = qq/$output/";
# print "pattern $pattern matched 1=$match1 2=$match2 3=$match3 4=$match4 replace $repl yielded $output interpolated $return\n";
$return;
}
sub just_highlight {
my $contents = join "\n", @_;
my $line;
my $ret = "";
foreach $pattern (keys %highlights) {
# print "scanning pattern $pattern ($highlights{$pattern})\n";
$contents =~ s:$pattern:repstr($pattern, $highlights{$pattern}, $1, $2, $3, $4):gse;
}
foreach $line (split "\n", $contents) {
if ($line eq ""){
$ret = $ret . $lineprefix . $blankline;
} else {
$ret = $ret . $lineprefix . $line;
}
$ret = $ret . "\n";
}
return $ret;
}
sub output_highlight {
print (just_highlight (@_));
}
# output in texinfo
sub output_texinfo {
my %args = %{$_[0]};
my ($parameter, $section);
my $count;
print "\@subheading ".$args{'function'}."\n";
print "\@anchor{".$args{'function'}."}\n";
print "\@deftypefun {" . $args{'functiontype'} . "} ";
print "{".$args{'function'}."} ";
print "(";
$count = 0;
foreach $parameter (@{$args{'parameterlist'}}) {
print $args{'parametertypes'}{$parameter}." \@var{".$parameter."}";
if ($count != $#{$args{'parameterlist'}}) {
$count++;
print ", ";
}
}
print ")\n";
foreach $parameter (@{$args{'parameterlist'}}) {
if ($args{'parameters'}{$parameter}) {
print "\@var{".$parameter."}: ";
output_highlight($args{'parameters'}{$parameter});
print "\n";
}
}
foreach $section (@{$args{'sectionlist'}}) {
print "\n\@strong{$section:} " if $section ne $section_default;
$args{'sections'}{$section} =~ s:([{}]):\@\1:gs;
output_highlight($args{'sections'}{$section});
}
print "\@end deftypefun\n\n";
}
# output in html
sub output_html {
my %args = %{$_[0]};
my ($parameter, $section);
my $count;
print "\n\n Function
\n";
print "".$args{'functiontype'}."\n";
print "".$args{'function'}."\n";
print "(";
$count = 0;
foreach $parameter (@{$args{'parameterlist'}}) {
print "".$args{'parametertypes'}{$parameter}." ".$parameter."\n";
if ($count != $#{$args{'parameterlist'}}) {
$count++;
print ", ";
}
}
print ")\n";
print "Arguments
\n";
print "\n";
foreach $parameter (@{$args{'parameterlist'}}) {
print "- ".$args{'parametertypes'}{$parameter}." ".$parameter."\n";
print "
- ";
output_highlight($args{'parameters'}{$parameter});
}
print "
\n";
foreach $section (@{$args{'sectionlist'}}) {
print "$section
\n";
print "\n";
output_highlight($args{'sections'}{$section});
print "
\n";
}
print "
\n";
}
# output in tex
sub output_tex {
my %args = %{$_[0]};
my ($parameter, $section);
my $count;
my $func = $args{'function'};
my $param;
my $param2;
my $sec;
my $check;
my $type;
$func =~ s/_/\\_/g;
print "\n\n\\subsection{". $func . "}\n\\label{" . $args{'function'} . "}\n";
$type = $args{'functiontype'};
$type =~ s/_/\\_/g;
print "{\\it ".$type."}\n";
print "{\\bf ".$func."}\n";
print "(";
$count = 0;
foreach $parameter (@{$args{'parameterlist'}}) {
$param = $args{'parametertypes'}{$parameter};
$param2 = $parameter;
$param =~ s/_/\\_/g;
$param2 =~ s/_/\\_/g;
print "{\\it ".$param."} {\\bf ".$param2."}";
if ($count != $#{$args{'parameterlist'}}) {
$count++;
print ", ";
}
}
print ")\n";
print "\n{\\large{Arguments}}\n";
print "\\begin{itemize}\n";
$check=0;
foreach $parameter (@{$args{'parameterlist'}}) {
$param1 = $args{'parametertypes'}{$parameter};
$param1 =~ s/_/\\_/g;
$param2 = $parameter;
$param2 =~ s/_/\\_/g;
$check = 1;
print "\\item {\\it ".$param1."} {\\bf ".$param2."}: \n";
# print "\n";
$param3 = $args{'parameters'}{$parameter};
$param3 =~ s/#([a-zA-Z\_]+)/{\\it \1}/g;
$out = just_highlight($param3);
$out =~ s/_/\\_/g;
print $out;
}
if ($check==0) {
print "\\item void\n";
}
print "\\end{itemize}\n";
foreach $section (@{$args{'sectionlist'}}) {
$sec = $section;
$sec =~ s/_/\\_/g;
$sec =~ s/#([a-zA-Z\_]+)/{\\it \1}/g;
print "\n{\\large{$sec}}\\\\\n";
print "\\begin{rmfamily}\n";
$sec = $args{'sections'}{$section};
$sec =~ s/\\:/:/g;
$sec =~ s/#([a-zA-Z\_]+)/{\\it \1}/g;
$sec =~ s/->/\$\\rightarrow\$/g;
$sec =~ s/([0-9]+)\^([0-9]+)/\$\{\1\}\^\{\2\}\$/g;
$out = just_highlight($sec);
$out =~ s/_/\\_/g;
print $out;
print "\\end{rmfamily}\n";
}
print "\n";
}
# output in sgml DocBook
sub output_sgml {
my %args = %{$_[0]};
my ($parameter, $section);
my $count;
my $id;
$id = $args{'module'}."-".$args{'function'};
$id =~ s/[^A-Za-z0-9]/-/g;
print "\n";
print "\n";
print "".$args{'function'}."\n";
print "\n";
print "\n";
print " ".$args{'function'}."\n";
print " \n";
print " ".$args{'purpose'}."\n";
print " \n";
print "\n";
print "\n";
print " Synopsis\n";
print " \n";
print " ".$args{'functiontype'}." ";
print "".$args{'function'}." ";
print "\n";
# print "\n";
# print " Synopsis\n";
# print " \n";
# print " ".$args{'functiontype'}." ";
# print "".$args{'function'}." ";
# print "\n";
$count = 0;
if ($#{$args{'parameterlist'}} >= 0) {
foreach $parameter (@{$args{'parameterlist'}}) {
print " ".$args{'parametertypes'}{$parameter};
print " $parameter\n";
}
} else {
print " \n";
}
print " \n";
print "\n";
# print "\n";
# print parameters
print "\n Arguments\n";
# print "\nArguments\n";
if ($#{$args{'parameterlist'}} >= 0) {
print " \n";
foreach $parameter (@{$args{'parameterlist'}}) {
print " \n $parameter\n";
print " \n \n";
$lineprefix=" ";
output_highlight($args{'parameters'}{$parameter});
print " \n \n \n";
}
print " \n";
} else {
print " \n None\n \n";
}
print "\n";
# print out each section
$lineprefix=" ";
foreach $section (@{$args{'sectionlist'}}) {
print "\n $section\n \n";
# print "\n$section\n";
if ($section =~ m/EXAMPLE/i) {
print "\n";
}
output_highlight($args{'sections'}{$section});
# print "";
if ($section =~ m/EXAMPLE/i) {
print "\n";
}
print " \n\n";
}
print "\n\n";
}
##
# output in man
sub output_man {
my %args = %{$_[0]};
my ($parameter, $section);
my $count;
print ".\\\" DO NOT MODIFY THIS FILE! It was generated by gdoc.\n";
print ".TH \"$args{'function'}\" 3 \"$args{'sourceversion'}\" \"". $args{'module'} . "\" \"". $args{'module'} . "\"\n";
print ".SH NAME\n";
print $args{'function'};
if ($args{'purpose'}) {
print " \\- " . $args{'purpose'} . "\n";
} else {
print " \\- API function\n";
}
print ".SH SYNOPSIS\n";
print ".B #include <". $args{'include'} . ">\n"
if $args{'include'};
print ".B #include <". lc((split /_/, $args{'function'})[0]) . ".h>\n"
if $args{'includefuncprefix'};
print ".sp\n";
print ".BI \"".$args{'functiontype'}." ".$args{'function'}."(";
$count = 0;
foreach $parameter (@{$args{'parameterlist'}}) {
print $args{'parametertypes'}{$parameter}." \" ".$parameter." \"";
if ($count != $#{$args{'parameterlist'}}) {
$count++;
print ", ";
}
}
print ");\"\n";
print ".SH ARGUMENTS\n";
foreach $parameter (@{$args{'parameterlist'}}) {
print ".IP \"".$args{'parametertypes'}{$parameter}." ".$parameter."\" 12\n";
$param = $args{'parameters'}{$parameter};
$param =~ s/-/\\-/g;
output_highlight($param);
}
foreach $section (@{$args{'sectionlist'}}) {
print ".SH \"" . uc($section) . "\"\n";
$sec = $args{'sections'}{$section};
$sec =~ s/-/\\-/g;
# Escape single quotes "'" on line beginning by zero width space "\&",
# otherwise the single quotes are misinterpreted as beginning of macros
# http://savannah.nongnu.org/support/?108312
$sec =~ s/\n\'/\n\\&\'/g;
output_highlight($sec);
}
if ($args{'bugsto'}) {
print ".SH \"REPORTING BUGS\"\n";
print "Report bugs to <". $args{'bugsto'} . ">.\n";
if ($args{'pkgname'} and $args{'pkgurl'}) {
print $args{'pkgname'} . " home page: " . $args{'pkgurl'} . "\n";
}
print "General help using GNU software: http://www.gnu.org/gethelp/\n";
}
if ($args{'copyright'}) {
print ".SH COPYRIGHT\n";
print "Copyright \\(co ". $args{'copyright'} . ".\n";
if ($args{'verbatimcopying'}) {
print ".br\n";
print "Copying and distribution of this file, with or without modification,\n";
print "are permitted in any medium without royalty provided the copyright\n";
print "notice and this notice are preserved.\n";
}
}
if ($args{'seeinfo'}) {
print ".SH \"SEE ALSO\"\n";
print "The full documentation for\n";
print ".B " . $args{'module'} . "\n";
print "is maintained as a Texinfo manual. If the\n";
print ".B info\n";
print "and\n";
print ".B " . $args{'module'} . "\n";
print "programs are properly installed at your site, the command\n";
print ".IP\n";
print ".B info " . $args{'seeinfo'} . "\n";
print ".PP\n";
print "should give you access to the complete manual.\n";
}
}
sub output_listfunc {
my %args = %{$_[0]};
print $args{'function'} . "\n";
}
##
# output in text
sub output_text {
my %args = %{$_[0]};
my ($parameter, $section);
print "Function = ".$args{'function'}."\n";
print " return type: ".$args{'functiontype'}."\n\n";
foreach $parameter (@{$args{'parameterlist'}}) {
print " ".$args{'parametertypes'}{$parameter}." ".$parameter."\n";
print " -> ".$args{'parameters'}{$parameter}."\n";
}
foreach $section (@{$args{'sectionlist'}}) {
print " $section:\n";
print " -> ";
output_highlight($args{'sections'}{$section});
}
}
##
# generic output function - calls the right one based
# on current output mode.
sub output_function {
# output_html(@_);
eval "output_".$output_mode."(\@_);";
}
##
# takes a function prototype and spits out all the details
# stored in the global arrays/hsahes.
sub dump_function {
my $prototype = shift @_;
if ($prototype =~ m/^()([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ ||
$prototype =~ m/^(\w+)\s+([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ ||
$prototype =~ m/^(\w+\s*\*)\s*([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ ||
$prototype =~ m/^(\w+\s+\w+)\s+([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ ||
$prototype =~ m/^(\w+\s+\w+\s*\*)\s*([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ ||
$prototype =~ m/^(\w+\s+\w+\s+\w+\s*\*)\s*([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/) {
$return_type = $1;
$function_name = $2;
$args = $3;
# print STDERR "ARGS = '$args'\n";
foreach $arg (split ',', $args) {
# strip leading/trailing spaces
$arg =~ s/^\s*//;
$arg =~ s/\s*$//;
# print STDERR "SCAN ARG: '$arg'\n";
@args = split('\s', $arg);
# print STDERR " -> @args\n";
$param = pop @args;
# print STDERR " -> @args\n";
if ($param =~ m/^(\*+)(.*)/) {
$param = $2;
push @args, $1;
}
if ($param =~ m/^(.*)(\[\])$/) {
$param = $1;
push @args, $2;
}
# print STDERR " :> @args\n";
$type = join " ", @args;
if ($parameters{$param} eq "" && $param != "void") {
$parameters{$param} = "-- undescribed --";
print STDERR "warning: $lineno: Function parameter '$param' not described in '$function_name'\n";
}
push @parameterlist, $param;
$parametertypes{$param} = $type;
# print STDERR "param = '$param', type = '$type'\n";
}
} else {
print STDERR "warning: $lineno: Cannot understand prototype: '$prototype'\n";
return;
}
if ($function_only==0 || defined($function_table{$function_name})) {
output_function({'function' => $function_name,
'module' => $modulename,
'sourceversion' => $sourceversion,
'include' => $include,
'includefuncprefix' => $includefuncprefix,
'bugsto' => $bugsto,
'pkgname' => $pkgname,
'pkgurl' => $pkgurl,
'copyright' => $copyright,
'verbatimcopying' => $verbatimcopying,
'seeinfo' => $seeinfo,
'functiontype' => $return_type,
'parameterlist' => \@parameterlist,
'parameters' => \%parameters,
'parametertypes' => \%parametertypes,
'sectionlist' => \@sectionlist,
'sections' => \%sections,
'purpose' => $function_purpose
});
}
}
######################################################################
# main
# states
# 0 - normal code
# 1 - looking for function name
# 2 - scanning field start.
# 3 - scanning prototype.
$state = 0;
$section = "";
$doc_special = "\@\%\$\#";
$doc_start = "^/\\*\\*\$";
$doc_end = "\\*/";
$doc_com = "\\s*\\*\\s*";
$doc_func = $doc_com."(\\w+):?";
$doc_sect = $doc_com."([".$doc_special."[:upper:]][\\w ]+):\\s*(.*)";
$doc_content = $doc_com."(.*)";
%constants = ();
%parameters = ();
@parameterlist = ();
%sections = ();
@sectionlist = ();
$contents = "";
$section_default = "Description"; # default section
$section = $section_default;
$lineno = 0;
foreach $file (@ARGV) {
if (!open(IN,"<$file")) {
print STDERR "Error: Cannot open file $file\n";
next;
}
while () {
$lineno++;
if ($state == 0) {
if (/$doc_start/o) {
$state = 1; # next line is always the function name
}
} elsif ($state == 1) { # this line is the function name (always)
if (/$doc_func/o) {
$function = $1;
$state = 2;
if (/-\s*(.*)/) {
$function_purpose = $1;
} else {
$function_purpose = "";
}
if ($verbose) {
print STDERR "Info($lineno): Scanning doc for $function\n";
}
} else {
print STDERR "warning: $lineno: Cannot understand $_ on line $lineno",
" - I thought it was a doc line\n";
$state = 0;
}
} elsif ($state == 2) { # look for head: lines, and include content
if (/$doc_sect/o) {
$newsection = $1;
$newcontents = $2;
if ($contents ne "") {
dump_section($section, $contents);
$section = $section_default;
}
$contents = $newcontents;
if ($contents ne "") {
$contents .= "\n";
}
$section = $newsection;
} elsif (/$doc_end/) {
if ($contents ne "") {
dump_section($section, $contents);
$section = $section_default;
$contents = "";
}
# print STDERR "end of doc comment, looking for prototype\n";
$prototype = "";
$state = 3;
} elsif (/$doc_content/) {
# miguel-style comment kludge, look for blank lines after
# @parameter line to signify start of description
if ($1 eq "" && $section =~ m/^@/) {
dump_section($section, $contents);
$section = $section_default;
$contents = "";
} else {
$contents .= $1."\n";
}
} else {
# i dont know - bad line? ignore.
print STDERR "warning: $lineno: Bad line: $_";
}
} elsif ($state == 3) { # scanning for function { (end of prototype)
if (m#\s*/\*\s+MACDOC\s*#io) {
# do nothing
}
elsif (/([^\{]*)/) {
$prototype .= $1;
}
if (/\{/) {
$prototype =~ s@/\*.*?\*/@@gos; # strip comments.
$prototype =~ s@[\r\n]+@ @gos; # strip newlines/cr's.
$prototype =~ s@^ +@@gos; # strip leading spaces
dump_function($prototype);
$function = "";
%constants = ();
%parameters = ();
%parametertypes = ();
@parameterlist = ();
%sections = ();
@sectionlist = ();
$prototype = "";
$state = 0;
}
}
}
}
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_policy_pinkeyid.3 0000644 0000000 0000000 00000002472 14043326446 021272 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_policy_pinkeyid" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_policy_pinkeyid \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_policy_pinkeyid(pskc_key_t * " key ", const char * " pinkeyid ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * pinkeyid" 12
pin key id value to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Policy PINPolicy PINKeyId value. This
attribute carries the unique 'Id' attribute vale of the "Key"
element held within this "KeyContainer" that contains the value of
the PIN that protects the key.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/Makefile.am 0000644 0000000 0000000 00000002604 14043214677 015303 0000000 0000000 # Copyright (C) 2012-2021 Simon Josefsson
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
dist_man_MANS = $(gdoc_MANS)
MAINTAINERCLEANFILES = $(dist_man_MANS)
EXTRA_DIST = gdoc
GDOC_BIN = $(srcdir)/gdoc
GDOC_SRC = $(top_srcdir)/global.c $(top_srcdir)/errors.c $(top_srcdir)/enums.c
GDOC_SRC += $(top_srcdir)/container.c $(top_srcdir)/parser.c \
$(top_srcdir)/validate.c $(top_srcdir)/build.c \
$(top_srcdir)/sign.c $(top_srcdir)/output.c
GDOC_MAN_EXTRA_ARGS = -module $(PACKAGE) -sourceversion $(VERSION) \
-bugsto $(PACKAGE_BUGREPORT) \
-pkg-name "$(PACKAGE_NAME)" -pkg-url "$(PACKAGE_URL)" \
-includefuncprefix \
-copyright "2012-2020 Simon Josefsson" \
-verbatimcopying
include $(srcdir)/gdoc.mk
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_data_secret.3 0000644 0000000 0000000 00000002301 14043326445 020327 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_data_secret" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_data_secret \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_key_data_secret(pskc_key_t * " key ", size_t * " len ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "size_t * len" 12
pointer to output variable with length of returned data.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Data Secret value. If \fIlen\fP is not set,
the caller can only use the returned value for comparison against
NULL to check whether the field is present or not.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content of length *\fIlen\fP, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_policy_pinusagemode.3 0000644 0000000 0000000 00000002132 14043326446 022127 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_policy_pinusagemode" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_policy_pinusagemode \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_policy_pinusagemode(pskc_key_t * " key ", pskc_pinusagemode " pinusagemode ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "pskc_pinusagemode pinusagemode" 12
the \fBpskc_pinusagemode\fP value to set
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Policy PINPolicy PINUsageMode value.
This mandatory attribute indicates the way the PIN is used during
the usage of the key.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_algparm_suite.3 0000644 0000000 0000000 00000002264 14043326444 020730 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_algparm_suite" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_algparm_suite \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_algparm_suite(pskc_key_t * " key ", const char * " keyalgparmsuite ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * keyalgparmsuite" 12
the key algorithm parameter suite string to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key AlgorithmParameters Suite value.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_issuer.3 0000644 0000000 0000000 00000002153 14043326444 017403 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_issuer" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_issuer \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_issuer(pskc_key_t * " key ", const char * " keyissuer ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * keyissuer" 12
a key issuer string to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Issuer value.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_data_secret.3 0000644 0000000 0000000 00000002615 14043326446 020354 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_data_secret" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_data_secret \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_set_key_data_secret(pskc_key_t * " key ", const char * " data ", size_t " len ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * data" 12
the byte array with the key to set, of \fIlen\fP length.
.IP "size_t len" 12
length of \fIdata\fP byte array.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Data Secret value. The \fIdata\fP data is
copied into the \fIkey\fP handle, so you may modify or deallocate the
\fIdata\fP pointer after calling this function. The data is base64
encoded by this function. On errors, the old secret is not
modified.
.SH "RETURNS"
\fBPSKC_BASE64_ERROR\fP on base64 encoding errors,
\fBPSKC_MALLOC_ERROR\fP on memory allocation errors, or \fBPSKC_OK\fP on
success.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_profileid.3 0000644 0000000 0000000 00000001667 14043326445 020044 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_profileid" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_profileid \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_key_profileid(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key KeyProfileId value.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_algparm_chall_max.3 0000644 0000000 0000000 00000003010 14043326445 021502 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_algparm_chall_max" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_algparm_chall_max \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint32_t pskc_get_key_algparm_chall_max(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Max
value. This attribute defines the maximum size of the challenge
accepted by the device for CR mode and MUST be included. If the
\&'Encoding' attribute is set to 'DECIMAL', 'HEXADECIMAL', or
\&'ALPHANUMERIC', this value indicates the maximum number of
digits/characters. If the 'Encoding' attribute is set to 'BASE64'
or 'BINARY', this value indicates the maximum number of bytes of
the unencoded value.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_policy_pinusagemode.3 0000644 0000000 0000000 00000002327 14043326446 022121 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_policy_pinusagemode" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_policy_pinusagemode \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "pskc_pinusagemode pskc_get_key_policy_pinusagemode(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Policy PINPolicy PINUsageMode value.
This mandatory attribute indicates the way the PIN is used during
the usage of the key.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an \fBpskc_pinusagemode\fP value
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_policy_expirydate.3 0000644 0000000 0000000 00000002024 14043326446 021611 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_policy_expirydate" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_policy_expirydate \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const struct tm * pskc_get_key_policy_expirydate(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Policy ExpiryDate. This element denote
the expiry of the validity period of a key.
.SH "RETURNS"
a constant struct (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_algparm_resp_checkdigits.3 0000644 0000000 0000000 00000002613 14043326445 023110 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_algparm_resp_checkdigits" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_algparm_resp_checkdigits \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_algparm_resp_checkdigits(pskc_key_t * " key ", int " checkdigit ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int checkdigit" 12
non\-zero to indicate setting true CheckDigit, 0 otherwise.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key AlgorithmParameters ResponseFormat
CheckDigits value. This attribute indicates whether the device
needs to append a Luhn check digit, as defined in [ISOIEC7812], to
the response. This is only valid if the 'Encoding' attribute is
set to 'DECIMAL'. If the value is TRUE, then the device will
append a Luhn check digit to the response. If the value is FALSE,
then the device will not append a Luhn check digit to the response.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_policy_pinmaxfailedattempts.3 0000644 0000000 0000000 00000002343 14043326446 023676 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_policy_pinmaxfailedattempts" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_policy_pinmaxfailedattempts \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_policy_pinmaxfailedattempts(pskc_key_t * " key ", uint32_t " attempts ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "uint32_t attempts" 12
number of attempts to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Policy PINPolicy MaxFailedAttempts
value. This attribute indicates the maximum number of times the
PIN may be entered wrongly before it MUST NOT be possible to use
the key anymore (typical reasonable values are in the positive
integer range of at least 2 and no more than 10).
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_version.3 0000644 0000000 0000000 00000002002 14043326443 016662 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_version" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_version \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_version(pskc_t * " container ");"
.SH ARGUMENTS
.IP "pskc_t * container" 12
a \fBpskc_t\fP handle, from \fBpskc_init()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyContainer Version attribute. Normally this string
is always "1.0" and a missing field is a syntax error according to
the PSKC schema.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_algorithm.3 0000644 0000000 0000000 00000002013 14043326444 020036 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_algorithm" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_algorithm \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_key_algorithm(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Algorithm attribute value. This may be
an URN, for example "urn:ietf:params:xml:ns:keyprov:pskc:hotp".
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_algparm_resp_length.3 0000644 0000000 0000000 00000002511 14043326445 022105 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_algparm_resp_length" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_algparm_resp_length \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_algparm_resp_length(pskc_key_t * " key ", uint32_t " length ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "uint32_t length" 12
length of response to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key AlgorithmParameters ResponseFormat
Length value. This attribute defines the length of the response
generated by the device and MUST be included. If the 'Encoding'
attribute is set to 'DECIMAL', 'HEXADECIMAL', or ALPHANUMERIC, this
value indicates the number of digits/characters. If the 'Encoding'
attribute is set to 'BASE64' or 'BINARY', this value indicates the
number of bytes of the unencoded value.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_algparm_chall_encoding.3 0000644 0000000 0000000 00000002343 14043326444 022512 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_algparm_chall_encoding" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_algparm_chall_encoding \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "pskc_valueformat pskc_get_key_algparm_chall_encoding(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat
Encoding value. This attribute defines the encoding of the
challenge accepted by the device.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an \fBpskc_valueformat\fP value
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_friendlyname.3 0000644 0000000 0000000 00000002207 14043326445 020547 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_friendlyname" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_friendlyname \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_friendlyname(pskc_key_t * " key ", const char * " fname ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * fname" 12
pointer to friendly name string to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Friendlyname value.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_policy_keyusages.3 0000644 0000000 0000000 00000002130 14043326447 021446 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_policy_keyusages" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_policy_keyusages \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_policy_keyusages(pskc_key_t * " key ", int " keyusages ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int keyusages" 12
integer with \fBpskc_keyusage\fP values ORed together.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Policy KeyUsage values. The element
puts constraints on the intended usage of the key. The recipient
of the PSKC document MUST enforce the key usage.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_data_time.3 0000644 0000000 0000000 00000002434 14043326446 020010 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_data_time" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_data_time \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint32_t pskc_get_key_data_time(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Data Time value. This element contains
the time for time\-based OTP algorithms. (If time intervals are
used, this element carries the number of time intervals passed from
a specific start point, normally it is algorithm dependent).
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_device_userid.3 0000644 0000000 0000000 00000002272 14043326444 020035 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_device_userid" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_device_userid \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_device_userid(pskc_key_t * " key ", const char * " userid ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * userid" 12
a string with user identity to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage DeviceInfo Userid value. This indicates
the user with whom the device is associated.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_keypackage.3 0000644 0000000 0000000 00000002175 14043326443 017314 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_keypackage" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_keypackage \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "pskc_key_t * pskc_get_keypackage(pskc_t * " container ", size_t " i ");"
.SH ARGUMENTS
.IP "pskc_t * container" 12
a \fBpskc_t\fP handle, from \fBpskc_init()\fP.
.IP "size_t i" 12
number of keypackage to get.
.SH "DESCRIPTION"
Get a PSKC keypackage \fBpskc_key_t\fP handle for the \fIi\fP'th key package
in \fIcontainer\fP. \fIi\fP is zero\-based, i.e., 0 refer to the first key
package, 1 refer to the second key package, and so on.
.SH "RETURNS"
NULL if there is no \fIi\fP'th key package, or a valid
\fBpskc_key_t\fP pointer.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_id.3 0000644 0000000 0000000 00000002072 14043326443 015614 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_id" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_id \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_id(pskc_t * " container ", const char * " id ");"
.SH ARGUMENTS
.IP "pskc_t * container" 12
a \fBpskc_t\fP handle, from \fBpskc_init()\fP.
.IP "const char * id" 12
pointer to id string to set.
.SH "DESCRIPTION"
Set the PSKC KeyContainer Id attribute.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_reference.3 0000644 0000000 0000000 00000002200 14043326445 020021 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_reference" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_reference \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_reference(pskc_key_t * " key ", const char * " keyref ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * keyref" 12
pointer to key reference string to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key KeyReference value.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_device_startdate.3 0000644 0000000 0000000 00000002112 14043326444 020512 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_device_startdate" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_device_startdate \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const struct tm * pskc_get_device_startdate(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage DeviceInfo StartDate. This element denote
the start date of a device (such as the one on a payment card, used
when issue numbers are not printed on cards).
.SH "RETURNS"
a constant struct (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_pinusagemode2str.3 0000644 0000000 0000000 00000002036 14043326443 017640 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_pinusagemode2str" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_pinusagemode2str \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_pinusagemode2str(pskc_pinusagemode " pinusagemode ");"
.SH ARGUMENTS
.IP "pskc_pinusagemode pinusagemode" 12
an \fBpskc_pinusagemode\fP enumeration type
.SH "DESCRIPTION"
Convert \fBpskc_pinusagemode\fP to a string. For example,
pskc_pinusagemode2str(\fBPSKC_PINUSAGEMODE_LOCAL\fP) will return
"Local". The returned string must not be deallocated.
.SH "RETURNS"
String corresponding to \fBpskc_pinusagemode\fP.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_parse_from_memory.3 0000644 0000000 0000000 00000002672 14043326447 020104 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_parse_from_memory" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_parse_from_memory \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_parse_from_memory(pskc_t * " container ", size_t " len ", const char * " buffer ");"
.SH ARGUMENTS
.IP "pskc_t * container" 12
a \fBpskc_t\fP handle, from \fBpskc_init()\fP.
.IP "size_t len" 12
length of \fIbuffer\fP.
.IP "const char * buffer" 12
XML data to parse.
.SH "DESCRIPTION"
This function will parse the XML data in \fIbuffer\fP of \fIlen\fP size into
\fIcontainer\fP. If \fBPSKC_PARSE_ERROR\fP is returned, parsing of some
elements have failed but the \fIcontainer\fP is still valid and contain
partially parsed information. In this situation, you may continue
but raise a warning.
.SH "RETURNS"
On success, \fBPSKC_OK\fP (zero) is returned, on memory
allocation errors \fBPSKC_MALLOC_ERROR\fP is returned, on XML library
errors \fBPSKC_XML_ERROR\fP is returned, on PSKC parse errors
\fBPSKC_PARSE_ERROR\fP is returned.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_policy_startdate.3 0000644 0000000 0000000 00000002064 14043326446 021446 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_policy_startdate" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_policy_startdate \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_policy_startdate(pskc_key_t * " key ", const struct tm * " startdate ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const struct tm * startdate" 12
pointer to a tm struct with key policy starting date to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Policy StartDate. This element denote
the start of the validity period of a key.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_data_timedrift.3 0000644 0000000 0000000 00000002715 14043326446 021057 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_data_timedrift" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_data_timedrift \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_data_timedrift(pskc_key_t * " key ", uint32_t " timedrift ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "uint32_t timedrift" 12
the time drift value to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Data TimeDrift value. This element
contains the device clock drift value for time\-based OTP
algorithms. The integer value (positive or negative drift) that
indicates the number of time intervals that a validation server has
established the device clock drifted after the last successful
authentication. So, for example, if the last successful
authentication established a device time value of 8 intervals from
a specific start date but the validation server determines the time
value at 9 intervals, the server SHOULD record the drift as \-1.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_free.3 0000644 0000000 0000000 00000001654 14043326442 015272 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_free" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_free \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_free(void * " ptr ");"
.SH ARGUMENTS
.IP "void * ptr" 12
memory region to deallocate, or NULL.
.SH "DESCRIPTION"
Deallocates memory region by calling \fBfree()\fP. If \fIptr\fP is NULL no
operation is performed.
This function is necessary on Windows, where different parts of the
same application may use different memory heaps.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_reference.3 0000644 0000000 0000000 00000001667 14043326445 020025 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_reference" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_reference \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_key_reference(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key KeyReference value.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_global_init.3 0000644 0000000 0000000 00000001765 14043326442 016637 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_global_init" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_global_init \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_global_init( " void ");"
.SH ARGUMENTS
.IP " void" 12
.SH "DESCRIPTION"
This function initializes the PSKC library. Every user of this
library needs to call this function before using other functions.
You should call \fBpskc_global_done()\fP when use of the PSKC library is
no longer needed.
.SH "RETURNS"
On success, \fBPSKC_OK\fP (zero) is returned, otherwise an
error code is returned.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_device_manufacturer.3 0000644 0000000 0000000 00000002334 14043326443 021234 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_device_manufacturer" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_device_manufacturer \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_device_manufacturer(pskc_key_t * " key ", const char * " devmfr ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle from, e.g., \fBpskc_add_keypackage()\fP.
.IP "const char * devmfr" 12
string with device manufacturer name to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage DeviceInfo Manufacturer value. This
element indicates the manufacturer of the device.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_id.3 0000644 0000000 0000000 00000001604 14043326443 015600 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_id" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_id \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_id(pskc_t * " container ");"
.SH ARGUMENTS
.IP "pskc_t * container" 12
a \fBpskc_t\fP handle, from \fBpskc_init()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyContainer Id attribute.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_policy_pinmaxfailedattempts.3 0000644 0000000 0000000 00000002576 14043326446 023672 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_policy_pinmaxfailedattempts" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_policy_pinmaxfailedattempts \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint32_t pskc_get_key_policy_pinmaxfailedattempts(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Policy PINPolicy MaxFailedAttempts
value. This attribute indicates the maximum number of times the
PIN may be entered wrongly before it MUST NOT be possible to use
the key anymore (typical reasonable values are in the positive
integer range of at least 2 and no more than 10).
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_valueformat2str.3 0000644 0000000 0000000 00000002026 14043326443 017504 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_valueformat2str" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_valueformat2str \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_valueformat2str(pskc_valueformat " valueformat ");"
.SH ARGUMENTS
.IP "pskc_valueformat valueformat" 12
an \fBpskc_valueformat\fP enumeration type
.SH "DESCRIPTION"
Convert \fBpskc_valueformat\fP to a string. For example,
pskc_valueformat2str(\fBPSKC_VALUEFORMAT_DECIMAL\fP) will return
"DECIMAL". The returned string must not be deallocated.
.SH "RETURNS"
String corresponding to \fBpskc_valueformat\fP.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_device_expirydate.3 0000644 0000000 0000000 00000002114 14043326444 020677 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_device_expirydate" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_device_expirydate \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const struct tm * pskc_get_device_expirydate(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage DeviceInfo ExpiryDate. This element denote
the end date of a device (such as the one on a payment card, used
when issue numbers are not printed on cards).
.SH "RETURNS"
a constant struct (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_device_userid.3 0000644 0000000 0000000 00000001765 14043326444 020027 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_device_userid" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_device_userid \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_device_userid(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage DeviceInfo Userid value. This indicates
the user with whom the device is associated.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_check_version.3 0000644 0000000 0000000 00000002427 14043326442 017172 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_check_version" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_check_version \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_check_version(const char * " req_version ");"
.SH ARGUMENTS
.IP "const char * req_version" 12
version string to compare with, or NULL.
.SH "DESCRIPTION"
Check PSKC library version.
See \fBPSKC_VERSION\fP for a suitable \fIreq_version\fP string.
This function is one of few in the library that can be used without
a successful call to \fBpskc_global_init()\fP.
.SH "RETURN VALUE"
Check that the version of the library is at
minimum the one given as a string in \fIreq_version\fP and return the
actual version string of the library; return NULL if the
condition is not met. If NULL is passed to this function no
check is done and only the version string is returned.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_policy_pinencoding.3 0000644 0000000 0000000 00000002340 14043326447 021732 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_policy_pinencoding" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_policy_pinencoding \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "pskc_valueformat pskc_get_key_policy_pinencoding(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Policy PINPolicy PINEncoding value.
This attribute indicates the encoding of the PIN and MUST be one of
the \fBpskc_valueformat\fP values.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an \fBpskc_valueformat\fP value
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_issuer.3 0000644 0000000 0000000 00000001650 14043326444 017370 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_issuer" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_issuer \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_key_issuer(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Issuer value.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_policy_expirydate.3 0000644 0000000 0000000 00000002071 14043326446 021627 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_policy_expirydate" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_policy_expirydate \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_policy_expirydate(pskc_key_t * " key ", const struct tm * " expirydate ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const struct tm * expirydate" 12
pointer to a tm struct with key policy expiry date to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Policy ExpiryDate. This element denote
the expiry of the validity period of a key.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_algparm_chall_encoding.3 0000644 0000000 0000000 00000002132 14043326444 022522 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_algparm_chall_encoding" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_algparm_chall_encoding \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_algparm_chall_encoding(pskc_key_t * " key ", pskc_valueformat " vf ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "pskc_valueformat vf" 12
the \fBpskc_valueformat\fP encoding type to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat
Encoding value. This attribute defines the encoding of the
challenge accepted by the device.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_device_startdate.3 0000644 0000000 0000000 00000002153 14043326444 020533 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_device_startdate" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_device_startdate \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_device_startdate(pskc_key_t * " key ", const struct tm * " startdate ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const struct tm * startdate" 12
pointer to a tm struct with device starting date to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage DeviceInfo StartDate. This element denote
the start date of a device (such as the one on a payment card, used
when issue numbers are not printed on cards).
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_friendlyname.3 0000644 0000000 0000000 00000001700 14043326445 020530 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_friendlyname" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_friendlyname \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_key_friendlyname(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Friendlyname value.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_str2pinusagemode.3 0000644 0000000 0000000 00000001750 14043326443 017642 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_str2pinusagemode" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_str2pinusagemode \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "pskc_pinusagemode pskc_str2pinusagemode(const char * " pinusagemode ");"
.SH ARGUMENTS
.IP "const char * pinusagemode" 12
an string describing a key usage.
.SH "DESCRIPTION"
Convert a string to a \fBpskc_pinusagemode\fP type. For example,
pskc_str2pinusagemode("Local") will return
\fBPSKC_PINUSAGEMODE_LOCAL\fP.
.SH "RETURNS"
The corresponding \fBpskc_pinusagemode\fP value.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_add_keypackage.3 0000644 0000000 0000000 00000002070 14043326443 017257 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_add_keypackage" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_add_keypackage \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_add_keypackage(pskc_t * " container ", pskc_key_t ** " key ");"
.SH ARGUMENTS
.IP "pskc_t * container" 12
a \fBpskc_t\fP handle, from \fBpskc_init()\fP.
.IP "pskc_key_t ** key" 12
pointer to \fBpskc_key_t\fP key package handle.
.SH "DESCRIPTION"
Add a new a PSKC keypackage to the \fIcontainer\fP and give back a
\fBpskc_key_t\fP handle.
.SH "RETURNS"
\fBPSKC_MALLOC_ERROR\fP on memory allocation errors, or
\fBPSKC_OK\fP on success.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_algparm_resp_encoding.3 0000644 0000000 0000000 00000002153 14043326445 022414 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_algparm_resp_encoding" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_algparm_resp_encoding \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_algparm_resp_encoding(pskc_key_t * " key ", pskc_valueformat " vf ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "pskc_valueformat vf" 12
the \fBpskc_valueformat\fP encoding type to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key AlgorithmParameters ResponseFormat
Encoding value. This attribute defines the encoding of the
response generated by the device, it MUST be included.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_init.3 0000644 0000000 0000000 00000001750 14043326447 015316 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_init" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_init \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_init(pskc_t ** " container ");"
.SH ARGUMENTS
.IP "pskc_t ** container" 12
pointer to a \fBpskc_t\fP handle to initialize.
.SH "DESCRIPTION"
This function initializes the PSKC \fIcontainer\fP handle. The memory
allocate can be released by calling \fBpskc_done()\fP.
.SH "RETURNS"
On success, \fBPSKC_OK\fP (zero) is returned, on memory
allocation errors \fBPSKC_MALLOC_ERROR\fP is returned.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_device_issueno.3 0000644 0000000 0000000 00000002130 14043326443 020203 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_device_issueno" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_device_issueno \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_get_device_issueno(pskc_key_t * " key ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.SH "DESCRIPTION"
Get the PSKC KeyPackage DeviceInfo IssueNo value. This element
contains the issue number in case there are devices with the same
serial number so that they can be distinguished by different issue
numbers.
.SH "RETURNS"
a constant string (must not be deallocated) holding the
content, or NULL if not set.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/gdoc.mk 0000644 0000000 0000000 00000005241 12760273072 014512 0000000 0000000 # -*- makefile -*-
# Copyright (C) 2002-2016 Simon Josefsson
#
# This file is part of GNU Libidn.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
BUILT_SOURCES = Makefile.gdoc
Makefile.gdoc: $(top_builddir)/configure Makefile.am gdoc.mk $(GDOC_SRC)
$(AM_V_GEN) \
echo '# This file is automatically generated. DO NOT EDIT! -*- makefile -*-' > Makefile.gdoc; \
echo >> Makefile.gdoc; \
echo 'gdoc_TEXINFOS =' >> Makefile.gdoc; \
echo 'gdoc_MANS =' >> Makefile.gdoc; \
echo >> Makefile.gdoc; \
for file in $(GDOC_SRC); do \
shortfile=`basename $$file`; \
echo "#" >> Makefile.gdoc; \
echo "### $$shortfile" >> Makefile.gdoc; \
echo "#" >> Makefile.gdoc; \
echo "gdoc_TEXINFOS += $(GDOC_TEXI_PREFIX)$$shortfile.texi" >> Makefile.gdoc; \
echo "$(GDOC_TEXI_PREFIX)$$shortfile.texi: $$file" >> Makefile.gdoc; \
echo 'TAB$$(AM_V_GEN)mkdir -p `dirname $$@`' | sed "s/TAB/ /" >> Makefile.gdoc; \
echo 'TAB@$$(PERL) $(GDOC_BIN) -texinfo $$(GDOC_TEXI_EXTRA_ARGS) $$< > $$@' | sed "s/TAB/ /" >> Makefile.gdoc; \
echo >> Makefile.gdoc; \
functions=`$(PERL) $(srcdir)/gdoc -listfunc $$file`; \
for function in $$functions; do \
echo "# $$shortfile: $$function" >> Makefile.gdoc; \
echo "gdoc_TEXINFOS += $(GDOC_TEXI_PREFIX)$$function.texi" >> Makefile.gdoc; \
echo "$(GDOC_TEXI_PREFIX)$$function.texi: $$file" >> Makefile.gdoc; \
echo 'TAB$$(AM_V_GEN)mkdir -p `dirname $$@`' | sed "s/TAB/ /" >> Makefile.gdoc; \
echo 'TAB@$$(PERL) $(GDOC_BIN) -texinfo $$(GDOC_TEXI_EXTRA_ARGS) -function'" $$function"' $$< > $$@' | sed "s/TAB/ /" >> Makefile.gdoc; \
echo >> Makefile.gdoc; \
echo "gdoc_MANS += $(GDOC_MAN_PREFIX)$$function.3" >> Makefile.gdoc; \
echo "$(GDOC_MAN_PREFIX)$$function.3: $$file" >> Makefile.gdoc; \
echo 'TAB$$(AM_V_GEN)mkdir -p `dirname $$@`' | sed "s/TAB/ /" >> Makefile.gdoc; \
echo 'TAB@$$(PERL) $(GDOC_BIN) -man $$(GDOC_MAN_EXTRA_ARGS) -function'" $$function"' $$< > $$@' | sed "s/TAB/ /" >> Makefile.gdoc; \
echo >> Makefile.gdoc; \
done; \
echo >> Makefile.gdoc; \
done; \
$(MAKE) Makefile
include Makefile.gdoc
oath-toolkit-2.6.7/libpskc/man/pskc_strerror.3 0000644 0000000 0000000 00000002162 14043326442 016226 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_strerror" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_strerror \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_strerror(int " err ");"
.SH ARGUMENTS
.IP "int err" 12
error code, a \fBpskc_rc\fP value.
.SH "DESCRIPTION"
Convert return code to human readable string explanation of the
reason for the particular error code.
This string can be used to output a diagnostic message to the user.
This function is one of few in the library that can be used without
a successful call to \fBpskc_init()\fP.
.SH "RETURN VALUE"
Returns a pointer to a statically allocated string
containing an explanation of the error code \fIerr\fP.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_strerror_name.3 0000644 0000000 0000000 00000002353 14043326443 017231 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_strerror_name" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_strerror_name \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_strerror_name(int " err ");"
.SH ARGUMENTS
.IP "int err" 12
error code, a \fBpskc_rc\fP value.
.SH "DESCRIPTION"
Convert return code to human readable string representing the error
code symbol itself. For example, pskc_strerror_name(\fBPSKC_OK\fP)
returns the string "PSKC_OK".
This string can be used to output a diagnostic message to the user.
This function is one of few in the library that can be used without
a successful call to \fBpskc_init()\fP.
.SH "RETURN VALUE"
Returns a pointer to a statically allocated string
containing a string version of the error code \fIerr\fP, or NULL if
the error code is not known.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_data_time.3 0000644 0000000 0000000 00000002202 14043326446 020015 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_data_time" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_data_time \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_data_time(pskc_key_t * " key ", uint32_t " datatime ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "uint32_t datatime" 12
the data time value to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Data Time value. This element contains
the time for time\-based OTP algorithms. (If time intervals are
used, this element carries the number of time intervals passed from
a specific start point, normally it is algorithm dependent).
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_algparm_chall_min.3 0000644 0000000 0000000 00000003010 14043326445 021500 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_algparm_chall_min" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_algparm_chall_min \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint32_t pskc_get_key_algparm_chall_min(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Min
value. This attribute defines the minimum size of the challenge
accepted by the device for CR mode and MUST be included. If the
\&'Encoding' attribute is set to 'DECIMAL', 'HEXADECIMAL', or
\&'ALPHANUMERIC', this value indicates the minimum number of
digits/characters. If the 'Encoding' attribute is set to 'BASE64'
or 'BINARY', this value indicates the minimum number of bytes of
the unencoded value.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_data_timeinterval.3 0000644 0000000 0000000 00000002415 14043326446 021554 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_data_timeinterval" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_data_timeinterval \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint32_t pskc_get_key_data_timeinterval(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Data TimeInterval value. This element
carries the time interval value for time\-based OTP algorithms in
seconds (a typical value for this would be 30, indicating a time
interval of 30 seconds).
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_device_model.3 0000644 0000000 0000000 00000002322 14043326443 017635 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_device_model" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_device_model \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_device_model(pskc_key_t * " key ", const char * " model ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle from, e.g., \fBpskc_add_keypackage()\fP.
.IP "const char * model" 12
a string with model name to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage DeviceInfo Model value. This element
describes the model of the device (e.g.,
"one\-button\-HOTP\-token\-V1").
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_done.3 0000644 0000000 0000000 00000001501 14043326447 015272 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_done" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_done \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_done(pskc_t * " container ");"
.SH ARGUMENTS
.IP "pskc_t * container" 12
a \fBpskc_t\fP handle, from \fBpskc_init()\fP.
.SH "DESCRIPTION"
This function releases the resources associated with the PSKC
\fIcontainer\fP handle.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_algparm_chall_checkdigits.3 0000644 0000000 0000000 00000003143 14043326445 023205 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_algparm_chall_checkdigits" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_algparm_chall_checkdigits \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_get_key_algparm_chall_checkdigits(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat
CheckDigits value. This attribute indicates whether a device needs
to check the appended Luhn check digit, as defined in [ISOIEC7812],
contained in a challenge. This is only valid if the 'Encoding'
attribute is set to 'DECIMAL'. A value of TRUE indicates that the
device will check the appended Luhn check digit in a provided
challenge. A value of FALSE indicates that the device will not
check the appended Luhn check digit in the challenge.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
1 to indicate a CheckDigits value of true, or 0 to
indicate false.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_policy_pinmaxlength.3 0000644 0000000 0000000 00000002571 14043326447 022155 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_policy_pinmaxlength" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_policy_pinmaxlength \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_policy_pinmaxlength(pskc_key_t * " key ", uint32_t " maxlength ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "uint32_t maxlength" 12
the length to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Policy PINPolicy MaxLength value. This
attribute indicates the maximum length of a PIN that can be set to
protect this key. It MUST NOT be possible to set a PIN longer than
this value. If the 'PINFormat' attribute is set to 'DECIMAL',
\&'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates the number
of digits/ characters. If the 'PINFormat' attribute is set to
\&'BASE64' or 'BINARY', this value indicates the number of bytes of
the unencoded value.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_data_timeinterval.3 0000644 0000000 0000000 00000002173 14043326446 021571 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_data_timeinterval" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_data_timeinterval \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_data_timeinterval(pskc_key_t * " key ", uint32_t " timeinterval ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "uint32_t timeinterval" 12
time interval value to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Data TimeInterval value. This element
carries the time interval value for time\-based OTP algorithms in
seconds (a typical value for this would be 30, indicating a time
interval of 30 seconds).
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_algparm_resp_checkdigits.3 0000644 0000000 0000000 00000003051 14043326445 023071 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_algparm_resp_checkdigits" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_algparm_resp_checkdigits \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_get_key_algparm_resp_checkdigits(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key AlgorithmParameters ResponseFormat
CheckDigits value. This attribute indicates whether the device
needs to append a Luhn check digit, as defined in [ISOIEC7812], to
the response. This is only valid if the 'Encoding' attribute is
set to 'DECIMAL'. If the value is TRUE, then the device will
append a Luhn check digit to the response. If the value is FALSE,
then the device will not append a Luhn check digit to the response.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
1 to indicate a CheckDigits value of true, or 0 to
indicate false.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_algparm_resp_encoding.3 0000644 0000000 0000000 00000002364 14043326445 022404 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_algparm_resp_encoding" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_algparm_resp_encoding \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "pskc_valueformat pskc_get_key_algparm_resp_encoding(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key AlgorithmParameters ResponseFormat
Encoding value. This attribute defines the encoding of the
response generated by the device, it MUST be included.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an \fBpskc_valueformat\fP value
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_data_b64secret.3 0000644 0000000 0000000 00000002615 14043326446 020670 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_data_b64secret" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_data_b64secret \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "int pskc_set_key_data_b64secret(pskc_key_t * " key ", const char * " b64secret ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "const char * b64secret" 12
the base64 encoded secret to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Data Secret value in base64 as a
zero\-terminated string. The \fIb64secret\fP data is copied into the
\fIkey\fP handle, so you may modify or deallocate the \fIb64secret\fP pointer
after calling this function. The data is base64 decoded by this
function to verify data validity. On errors, the old secret is not
modified.
.SH "RETURNS"
\fBPSKC_BASE64_ERROR\fP on base64 decoding errors,
\fBPSKC_MALLOC_ERROR\fP on memory allocation errors, or \fBPSKC_OK\fP on
success.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_key_data_counter.3 0000644 0000000 0000000 00000001767 14043326446 020555 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_key_data_counter" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_key_data_counter \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_key_data_counter(pskc_key_t * " key ", uint64_t " counter ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "uint64_t counter" 12
counter value to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage Key Data Counter value. This element
contains the event counter for event\-based OTP algorithms.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_keyusage2str.3 0000644 0000000 0000000 00000001752 14043326443 017001 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_keyusage2str" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_keyusage2str \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "const char * pskc_keyusage2str(pskc_keyusage " keyusage ");"
.SH ARGUMENTS
.IP "pskc_keyusage keyusage" 12
an \fBpskc_keyusage\fP enumeration type
.SH "DESCRIPTION"
Convert \fBpskc_keyusage\fP to a string. For example,
pskc_keyusage2str(\fBPSKC_KEYUSAGE_OTP\fP) will return "OTP". The
returned string must not be deallocated.
.SH "RETURNS"
String corresponding to \fBpskc_keyusage\fP.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_policy_pinmaxlength.3 0000644 0000000 0000000 00000003032 14043326447 022132 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_policy_pinmaxlength" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_policy_pinmaxlength \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint32_t pskc_get_key_policy_pinmaxlength(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Policy PINPolicy MaxLength value. This
attribute indicates the maximum length of a PIN that can be set to
protect this key. It MUST NOT be possible to set a PIN longer than
this value. If the 'PINFormat' attribute is set to 'DECIMAL',
\&'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates the number
of digits/ characters. If the 'PINFormat' attribute is set to
\&'BASE64' or 'BINARY', this value indicates the number of bytes of
the unencoded value.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_policy_pinminlength.3 0000644 0000000 0000000 00000003043 14043326447 022132 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_policy_pinminlength" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_policy_pinminlength \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint32_t pskc_get_key_policy_pinminlength(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Policy PINPolicy MinLength value. This
attribute indicates the minimum length of a PIN that can be set to
protect the associated key. It MUST NOT be possible to set a PIN
shorter than this value. If the 'PINFormat' attribute is set to
\&'DECIMAL', 'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates
the number of digits/ characters. If the 'PINFormat' attribute is
set to 'BASE64' or 'BINARY', this value indicates the number of
bytes of the unencoded value.
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_global_done.3 0000644 0000000 0000000 00000001661 14043326442 016614 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_global_done" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_global_done \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_global_done( " void ");"
.SH ARGUMENTS
.IP " void" 12
.SH "DESCRIPTION"
This function deinitializes the PSKC library, which were
initialized using \fBpskc_global_init()\fP. After calling this function,
no other PSKC library function may be called except for to
re\-initialize the library using \fBpskc_global_init()\fP.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_set_device_serialno.3 0000644 0000000 0000000 00000002306 14043326443 020353 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_set_device_serialno" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_set_device_serialno \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "void pskc_set_device_serialno(pskc_key_t * " key ", const char * " serialno ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle from, e.g., \fBpskc_add_keypackage()\fP.
.IP "const char * serialno" 12
string with serial number to set.
.SH "DESCRIPTION"
Set the PSKC KeyPackage DeviceInfo SerialNo value. This element
indicates the serial number of the device.
The pointer is stored in \fIcontainer\fP, not a copy of the data, so you
must not deallocate the data before another call to this function
or the last call to any function using \fIcontainer\fP.
.SH "SINCE"
2.2.0
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_data_counter.3 0000644 0000000 0000000 00000002241 14043326446 020525 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_data_counter" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_data_counter \- API function
.SH SYNOPSIS
.B #include
.sp
.BI "uint64_t pskc_get_key_data_counter(pskc_key_t * " key ", int * " present ");"
.SH ARGUMENTS
.IP "pskc_key_t * key" 12
a \fBpskc_key_t\fP handle, from \fBpskc_get_keypackage()\fP.
.IP "int * present" 12
output variable indicating whether data was provided or not.
.SH "DESCRIPTION"
Get the PSKC KeyPackage Key Data Counter value. This element
contains the event counter for event\-based OTP algorithms.
If \fIpresent\fP is non\-NULL, it will be 0 if the Counter field is not
present or 1 if it was present.
.SH "RETURNS"
an integer holding the content.
.SH "REPORTING BUGS"
Report bugs to .
libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2020 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
oath-toolkit-2.6.7/libpskc/man/Makefile.gdoc 0000644 0000000 0000000 00000146072 14043326440 015622 0000000 0000000 # This file is automatically generated. DO NOT EDIT! -*- makefile -*-
gdoc_TEXINFOS =
gdoc_MANS =
#
### global.c
#
gdoc_TEXINFOS += global.c.texi
global.c.texi: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# global.c: pskc_global_init
gdoc_TEXINFOS += pskc_global_init.texi
pskc_global_init.texi: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_global_init $< > $@
gdoc_MANS += pskc_global_init.3
pskc_global_init.3: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_global_init $< > $@
# global.c: pskc_global_done
gdoc_TEXINFOS += pskc_global_done.texi
pskc_global_done.texi: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_global_done $< > $@
gdoc_MANS += pskc_global_done.3
pskc_global_done.3: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_global_done $< > $@
# global.c: pskc_check_version
gdoc_TEXINFOS += pskc_check_version.texi
pskc_check_version.texi: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_check_version $< > $@
gdoc_MANS += pskc_check_version.3
pskc_check_version.3: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_check_version $< > $@
# global.c: pskc_free
gdoc_TEXINFOS += pskc_free.texi
pskc_free.texi: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_free $< > $@
gdoc_MANS += pskc_free.3
pskc_free.3: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_free $< > $@
# global.c: pskc_global_log
gdoc_TEXINFOS += pskc_global_log.texi
pskc_global_log.texi: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_global_log $< > $@
gdoc_MANS += pskc_global_log.3
pskc_global_log.3: ../global.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_global_log $< > $@
#
### errors.c
#
gdoc_TEXINFOS += errors.c.texi
errors.c.texi: ../errors.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# errors.c: pskc_strerror
gdoc_TEXINFOS += pskc_strerror.texi
pskc_strerror.texi: ../errors.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_strerror $< > $@
gdoc_MANS += pskc_strerror.3
pskc_strerror.3: ../errors.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_strerror $< > $@
# errors.c: pskc_strerror_name
gdoc_TEXINFOS += pskc_strerror_name.texi
pskc_strerror_name.texi: ../errors.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_strerror_name $< > $@
gdoc_MANS += pskc_strerror_name.3
pskc_strerror_name.3: ../errors.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_strerror_name $< > $@
#
### enums.c
#
gdoc_TEXINFOS += enums.c.texi
enums.c.texi: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# enums.c: pskc_pinusagemode2str
gdoc_TEXINFOS += pskc_pinusagemode2str.texi
pskc_pinusagemode2str.texi: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_pinusagemode2str $< > $@
gdoc_MANS += pskc_pinusagemode2str.3
pskc_pinusagemode2str.3: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_pinusagemode2str $< > $@
# enums.c: pskc_valueformat2str
gdoc_TEXINFOS += pskc_valueformat2str.texi
pskc_valueformat2str.texi: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_valueformat2str $< > $@
gdoc_MANS += pskc_valueformat2str.3
pskc_valueformat2str.3: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_valueformat2str $< > $@
# enums.c: pskc_keyusage2str
gdoc_TEXINFOS += pskc_keyusage2str.texi
pskc_keyusage2str.texi: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_keyusage2str $< > $@
gdoc_MANS += pskc_keyusage2str.3
pskc_keyusage2str.3: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_keyusage2str $< > $@
# enums.c: pskc_str2pinusagemode
gdoc_TEXINFOS += pskc_str2pinusagemode.texi
pskc_str2pinusagemode.texi: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_str2pinusagemode $< > $@
gdoc_MANS += pskc_str2pinusagemode.3
pskc_str2pinusagemode.3: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_str2pinusagemode $< > $@
# enums.c: pskc_str2valueformat
gdoc_TEXINFOS += pskc_str2valueformat.texi
pskc_str2valueformat.texi: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_str2valueformat $< > $@
gdoc_MANS += pskc_str2valueformat.3
pskc_str2valueformat.3: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_str2valueformat $< > $@
# enums.c: pskc_str2keyusage
gdoc_TEXINFOS += pskc_str2keyusage.texi
pskc_str2keyusage.texi: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_str2keyusage $< > $@
gdoc_MANS += pskc_str2keyusage.3
pskc_str2keyusage.3: ../enums.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_str2keyusage $< > $@
#
### container.c
#
gdoc_TEXINFOS += container.c.texi
container.c.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# container.c: pskc_get_version
gdoc_TEXINFOS += pskc_get_version.texi
pskc_get_version.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_version $< > $@
gdoc_MANS += pskc_get_version.3
pskc_get_version.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_version $< > $@
# container.c: pskc_set_version
gdoc_TEXINFOS += pskc_set_version.texi
pskc_set_version.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_version $< > $@
gdoc_MANS += pskc_set_version.3
pskc_set_version.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_version $< > $@
# container.c: pskc_get_id
gdoc_TEXINFOS += pskc_get_id.texi
pskc_get_id.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_id $< > $@
gdoc_MANS += pskc_get_id.3
pskc_get_id.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_id $< > $@
# container.c: pskc_set_id
gdoc_TEXINFOS += pskc_set_id.texi
pskc_set_id.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_id $< > $@
gdoc_MANS += pskc_set_id.3
pskc_set_id.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_id $< > $@
# container.c: pskc_get_signed_p
gdoc_TEXINFOS += pskc_get_signed_p.texi
pskc_get_signed_p.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_signed_p $< > $@
gdoc_MANS += pskc_get_signed_p.3
pskc_get_signed_p.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_signed_p $< > $@
# container.c: pskc_get_keypackage
gdoc_TEXINFOS += pskc_get_keypackage.texi
pskc_get_keypackage.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_keypackage $< > $@
gdoc_MANS += pskc_get_keypackage.3
pskc_get_keypackage.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_keypackage $< > $@
# container.c: pskc_add_keypackage
gdoc_TEXINFOS += pskc_add_keypackage.texi
pskc_add_keypackage.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_add_keypackage $< > $@
gdoc_MANS += pskc_add_keypackage.3
pskc_add_keypackage.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_add_keypackage $< > $@
# container.c: pskc_get_device_manufacturer
gdoc_TEXINFOS += pskc_get_device_manufacturer.texi
pskc_get_device_manufacturer.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_manufacturer $< > $@
gdoc_MANS += pskc_get_device_manufacturer.3
pskc_get_device_manufacturer.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_manufacturer $< > $@
# container.c: pskc_set_device_manufacturer
gdoc_TEXINFOS += pskc_set_device_manufacturer.texi
pskc_set_device_manufacturer.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_manufacturer $< > $@
gdoc_MANS += pskc_set_device_manufacturer.3
pskc_set_device_manufacturer.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_manufacturer $< > $@
# container.c: pskc_get_device_serialno
gdoc_TEXINFOS += pskc_get_device_serialno.texi
pskc_get_device_serialno.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_serialno $< > $@
gdoc_MANS += pskc_get_device_serialno.3
pskc_get_device_serialno.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_serialno $< > $@
# container.c: pskc_set_device_serialno
gdoc_TEXINFOS += pskc_set_device_serialno.texi
pskc_set_device_serialno.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_serialno $< > $@
gdoc_MANS += pskc_set_device_serialno.3
pskc_set_device_serialno.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_serialno $< > $@
# container.c: pskc_get_device_model
gdoc_TEXINFOS += pskc_get_device_model.texi
pskc_get_device_model.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_model $< > $@
gdoc_MANS += pskc_get_device_model.3
pskc_get_device_model.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_model $< > $@
# container.c: pskc_set_device_model
gdoc_TEXINFOS += pskc_set_device_model.texi
pskc_set_device_model.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_model $< > $@
gdoc_MANS += pskc_set_device_model.3
pskc_set_device_model.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_model $< > $@
# container.c: pskc_get_device_issueno
gdoc_TEXINFOS += pskc_get_device_issueno.texi
pskc_get_device_issueno.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_issueno $< > $@
gdoc_MANS += pskc_get_device_issueno.3
pskc_get_device_issueno.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_issueno $< > $@
# container.c: pskc_set_device_issueno
gdoc_TEXINFOS += pskc_set_device_issueno.texi
pskc_set_device_issueno.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_issueno $< > $@
gdoc_MANS += pskc_set_device_issueno.3
pskc_set_device_issueno.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_issueno $< > $@
# container.c: pskc_get_device_devicebinding
gdoc_TEXINFOS += pskc_get_device_devicebinding.texi
pskc_get_device_devicebinding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_devicebinding $< > $@
gdoc_MANS += pskc_get_device_devicebinding.3
pskc_get_device_devicebinding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_devicebinding $< > $@
# container.c: pskc_set_device_devicebinding
gdoc_TEXINFOS += pskc_set_device_devicebinding.texi
pskc_set_device_devicebinding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_devicebinding $< > $@
gdoc_MANS += pskc_set_device_devicebinding.3
pskc_set_device_devicebinding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_devicebinding $< > $@
# container.c: pskc_get_device_startdate
gdoc_TEXINFOS += pskc_get_device_startdate.texi
pskc_get_device_startdate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_startdate $< > $@
gdoc_MANS += pskc_get_device_startdate.3
pskc_get_device_startdate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_startdate $< > $@
# container.c: pskc_set_device_startdate
gdoc_TEXINFOS += pskc_set_device_startdate.texi
pskc_set_device_startdate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_startdate $< > $@
gdoc_MANS += pskc_set_device_startdate.3
pskc_set_device_startdate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_startdate $< > $@
# container.c: pskc_get_device_expirydate
gdoc_TEXINFOS += pskc_get_device_expirydate.texi
pskc_get_device_expirydate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_expirydate $< > $@
gdoc_MANS += pskc_get_device_expirydate.3
pskc_get_device_expirydate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_expirydate $< > $@
# container.c: pskc_set_device_expirydate
gdoc_TEXINFOS += pskc_set_device_expirydate.texi
pskc_set_device_expirydate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_expirydate $< > $@
gdoc_MANS += pskc_set_device_expirydate.3
pskc_set_device_expirydate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_expirydate $< > $@
# container.c: pskc_get_device_userid
gdoc_TEXINFOS += pskc_get_device_userid.texi
pskc_get_device_userid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_device_userid $< > $@
gdoc_MANS += pskc_get_device_userid.3
pskc_get_device_userid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_device_userid $< > $@
# container.c: pskc_set_device_userid
gdoc_TEXINFOS += pskc_set_device_userid.texi
pskc_set_device_userid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_device_userid $< > $@
gdoc_MANS += pskc_set_device_userid.3
pskc_set_device_userid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_device_userid $< > $@
# container.c: pskc_get_cryptomodule_id
gdoc_TEXINFOS += pskc_get_cryptomodule_id.texi
pskc_get_cryptomodule_id.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_cryptomodule_id $< > $@
gdoc_MANS += pskc_get_cryptomodule_id.3
pskc_get_cryptomodule_id.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_cryptomodule_id $< > $@
# container.c: pskc_set_cryptomodule_id
gdoc_TEXINFOS += pskc_set_cryptomodule_id.texi
pskc_set_cryptomodule_id.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_cryptomodule_id $< > $@
gdoc_MANS += pskc_set_cryptomodule_id.3
pskc_set_cryptomodule_id.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_cryptomodule_id $< > $@
# container.c: pskc_get_key_id
gdoc_TEXINFOS += pskc_get_key_id.texi
pskc_get_key_id.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_id $< > $@
gdoc_MANS += pskc_get_key_id.3
pskc_get_key_id.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_id $< > $@
# container.c: pskc_set_key_id
gdoc_TEXINFOS += pskc_set_key_id.texi
pskc_set_key_id.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_id $< > $@
gdoc_MANS += pskc_set_key_id.3
pskc_set_key_id.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_id $< > $@
# container.c: pskc_get_key_algorithm
gdoc_TEXINFOS += pskc_get_key_algorithm.texi
pskc_get_key_algorithm.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algorithm $< > $@
gdoc_MANS += pskc_get_key_algorithm.3
pskc_get_key_algorithm.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algorithm $< > $@
# container.c: pskc_set_key_algorithm
gdoc_TEXINFOS += pskc_set_key_algorithm.texi
pskc_set_key_algorithm.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algorithm $< > $@
gdoc_MANS += pskc_set_key_algorithm.3
pskc_set_key_algorithm.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algorithm $< > $@
# container.c: pskc_get_key_issuer
gdoc_TEXINFOS += pskc_get_key_issuer.texi
pskc_get_key_issuer.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_issuer $< > $@
gdoc_MANS += pskc_get_key_issuer.3
pskc_get_key_issuer.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_issuer $< > $@
# container.c: pskc_set_key_issuer
gdoc_TEXINFOS += pskc_set_key_issuer.texi
pskc_set_key_issuer.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_issuer $< > $@
gdoc_MANS += pskc_set_key_issuer.3
pskc_set_key_issuer.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_issuer $< > $@
# container.c: pskc_get_key_algparm_suite
gdoc_TEXINFOS += pskc_get_key_algparm_suite.texi
pskc_get_key_algparm_suite.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_suite $< > $@
gdoc_MANS += pskc_get_key_algparm_suite.3
pskc_get_key_algparm_suite.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_suite $< > $@
# container.c: pskc_set_key_algparm_suite
gdoc_TEXINFOS += pskc_set_key_algparm_suite.texi
pskc_set_key_algparm_suite.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_suite $< > $@
gdoc_MANS += pskc_set_key_algparm_suite.3
pskc_set_key_algparm_suite.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_suite $< > $@
# container.c: pskc_get_key_algparm_chall_encoding
gdoc_TEXINFOS += pskc_get_key_algparm_chall_encoding.texi
pskc_get_key_algparm_chall_encoding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_chall_encoding $< > $@
gdoc_MANS += pskc_get_key_algparm_chall_encoding.3
pskc_get_key_algparm_chall_encoding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_chall_encoding $< > $@
# container.c: pskc_set_key_algparm_chall_encoding
gdoc_TEXINFOS += pskc_set_key_algparm_chall_encoding.texi
pskc_set_key_algparm_chall_encoding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_chall_encoding $< > $@
gdoc_MANS += pskc_set_key_algparm_chall_encoding.3
pskc_set_key_algparm_chall_encoding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_chall_encoding $< > $@
# container.c: pskc_get_key_algparm_chall_min
gdoc_TEXINFOS += pskc_get_key_algparm_chall_min.texi
pskc_get_key_algparm_chall_min.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_chall_min $< > $@
gdoc_MANS += pskc_get_key_algparm_chall_min.3
pskc_get_key_algparm_chall_min.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_chall_min $< > $@
# container.c: pskc_set_key_algparm_chall_min
gdoc_TEXINFOS += pskc_set_key_algparm_chall_min.texi
pskc_set_key_algparm_chall_min.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_chall_min $< > $@
gdoc_MANS += pskc_set_key_algparm_chall_min.3
pskc_set_key_algparm_chall_min.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_chall_min $< > $@
# container.c: pskc_get_key_algparm_chall_max
gdoc_TEXINFOS += pskc_get_key_algparm_chall_max.texi
pskc_get_key_algparm_chall_max.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_chall_max $< > $@
gdoc_MANS += pskc_get_key_algparm_chall_max.3
pskc_get_key_algparm_chall_max.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_chall_max $< > $@
# container.c: pskc_set_key_algparm_chall_max
gdoc_TEXINFOS += pskc_set_key_algparm_chall_max.texi
pskc_set_key_algparm_chall_max.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_chall_max $< > $@
gdoc_MANS += pskc_set_key_algparm_chall_max.3
pskc_set_key_algparm_chall_max.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_chall_max $< > $@
# container.c: pskc_get_key_algparm_chall_checkdigits
gdoc_TEXINFOS += pskc_get_key_algparm_chall_checkdigits.texi
pskc_get_key_algparm_chall_checkdigits.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_chall_checkdigits $< > $@
gdoc_MANS += pskc_get_key_algparm_chall_checkdigits.3
pskc_get_key_algparm_chall_checkdigits.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_chall_checkdigits $< > $@
# container.c: pskc_set_key_algparm_chall_checkdigits
gdoc_TEXINFOS += pskc_set_key_algparm_chall_checkdigits.texi
pskc_set_key_algparm_chall_checkdigits.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_chall_checkdigits $< > $@
gdoc_MANS += pskc_set_key_algparm_chall_checkdigits.3
pskc_set_key_algparm_chall_checkdigits.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_chall_checkdigits $< > $@
# container.c: pskc_get_key_algparm_resp_encoding
gdoc_TEXINFOS += pskc_get_key_algparm_resp_encoding.texi
pskc_get_key_algparm_resp_encoding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_resp_encoding $< > $@
gdoc_MANS += pskc_get_key_algparm_resp_encoding.3
pskc_get_key_algparm_resp_encoding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_resp_encoding $< > $@
# container.c: pskc_set_key_algparm_resp_encoding
gdoc_TEXINFOS += pskc_set_key_algparm_resp_encoding.texi
pskc_set_key_algparm_resp_encoding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_resp_encoding $< > $@
gdoc_MANS += pskc_set_key_algparm_resp_encoding.3
pskc_set_key_algparm_resp_encoding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_resp_encoding $< > $@
# container.c: pskc_get_key_algparm_resp_length
gdoc_TEXINFOS += pskc_get_key_algparm_resp_length.texi
pskc_get_key_algparm_resp_length.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_resp_length $< > $@
gdoc_MANS += pskc_get_key_algparm_resp_length.3
pskc_get_key_algparm_resp_length.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_resp_length $< > $@
# container.c: pskc_set_key_algparm_resp_length
gdoc_TEXINFOS += pskc_set_key_algparm_resp_length.texi
pskc_set_key_algparm_resp_length.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_resp_length $< > $@
gdoc_MANS += pskc_set_key_algparm_resp_length.3
pskc_set_key_algparm_resp_length.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_resp_length $< > $@
# container.c: pskc_get_key_algparm_resp_checkdigits
gdoc_TEXINFOS += pskc_get_key_algparm_resp_checkdigits.texi
pskc_get_key_algparm_resp_checkdigits.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_algparm_resp_checkdigits $< > $@
gdoc_MANS += pskc_get_key_algparm_resp_checkdigits.3
pskc_get_key_algparm_resp_checkdigits.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_algparm_resp_checkdigits $< > $@
# container.c: pskc_set_key_algparm_resp_checkdigits
gdoc_TEXINFOS += pskc_set_key_algparm_resp_checkdigits.texi
pskc_set_key_algparm_resp_checkdigits.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_algparm_resp_checkdigits $< > $@
gdoc_MANS += pskc_set_key_algparm_resp_checkdigits.3
pskc_set_key_algparm_resp_checkdigits.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_algparm_resp_checkdigits $< > $@
# container.c: pskc_get_key_profileid
gdoc_TEXINFOS += pskc_get_key_profileid.texi
pskc_get_key_profileid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_profileid $< > $@
gdoc_MANS += pskc_get_key_profileid.3
pskc_get_key_profileid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_profileid $< > $@
# container.c: pskc_set_key_profileid
gdoc_TEXINFOS += pskc_set_key_profileid.texi
pskc_set_key_profileid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_profileid $< > $@
gdoc_MANS += pskc_set_key_profileid.3
pskc_set_key_profileid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_profileid $< > $@
# container.c: pskc_get_key_reference
gdoc_TEXINFOS += pskc_get_key_reference.texi
pskc_get_key_reference.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_reference $< > $@
gdoc_MANS += pskc_get_key_reference.3
pskc_get_key_reference.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_reference $< > $@
# container.c: pskc_set_key_reference
gdoc_TEXINFOS += pskc_set_key_reference.texi
pskc_set_key_reference.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_reference $< > $@
gdoc_MANS += pskc_set_key_reference.3
pskc_set_key_reference.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_reference $< > $@
# container.c: pskc_get_key_friendlyname
gdoc_TEXINFOS += pskc_get_key_friendlyname.texi
pskc_get_key_friendlyname.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_friendlyname $< > $@
gdoc_MANS += pskc_get_key_friendlyname.3
pskc_get_key_friendlyname.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_friendlyname $< > $@
# container.c: pskc_set_key_friendlyname
gdoc_TEXINFOS += pskc_set_key_friendlyname.texi
pskc_set_key_friendlyname.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_friendlyname $< > $@
gdoc_MANS += pskc_set_key_friendlyname.3
pskc_set_key_friendlyname.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_friendlyname $< > $@
# container.c: pskc_get_key_userid
gdoc_TEXINFOS += pskc_get_key_userid.texi
pskc_get_key_userid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_userid $< > $@
gdoc_MANS += pskc_get_key_userid.3
pskc_get_key_userid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_userid $< > $@
# container.c: pskc_set_key_userid
gdoc_TEXINFOS += pskc_set_key_userid.texi
pskc_set_key_userid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_userid $< > $@
gdoc_MANS += pskc_set_key_userid.3
pskc_set_key_userid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_userid $< > $@
# container.c: pskc_get_key_data_secret
gdoc_TEXINFOS += pskc_get_key_data_secret.texi
pskc_get_key_data_secret.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_data_secret $< > $@
gdoc_MANS += pskc_get_key_data_secret.3
pskc_get_key_data_secret.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_data_secret $< > $@
# container.c: pskc_set_key_data_secret
gdoc_TEXINFOS += pskc_set_key_data_secret.texi
pskc_set_key_data_secret.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_data_secret $< > $@
gdoc_MANS += pskc_set_key_data_secret.3
pskc_set_key_data_secret.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_data_secret $< > $@
# container.c: pskc_get_key_data_b64secret
gdoc_TEXINFOS += pskc_get_key_data_b64secret.texi
pskc_get_key_data_b64secret.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_data_b64secret $< > $@
gdoc_MANS += pskc_get_key_data_b64secret.3
pskc_get_key_data_b64secret.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_data_b64secret $< > $@
# container.c: pskc_set_key_data_b64secret
gdoc_TEXINFOS += pskc_set_key_data_b64secret.texi
pskc_set_key_data_b64secret.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_data_b64secret $< > $@
gdoc_MANS += pskc_set_key_data_b64secret.3
pskc_set_key_data_b64secret.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_data_b64secret $< > $@
# container.c: pskc_get_key_data_counter
gdoc_TEXINFOS += pskc_get_key_data_counter.texi
pskc_get_key_data_counter.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_data_counter $< > $@
gdoc_MANS += pskc_get_key_data_counter.3
pskc_get_key_data_counter.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_data_counter $< > $@
# container.c: pskc_set_key_data_counter
gdoc_TEXINFOS += pskc_set_key_data_counter.texi
pskc_set_key_data_counter.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_data_counter $< > $@
gdoc_MANS += pskc_set_key_data_counter.3
pskc_set_key_data_counter.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_data_counter $< > $@
# container.c: pskc_get_key_data_time
gdoc_TEXINFOS += pskc_get_key_data_time.texi
pskc_get_key_data_time.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_data_time $< > $@
gdoc_MANS += pskc_get_key_data_time.3
pskc_get_key_data_time.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_data_time $< > $@
# container.c: pskc_set_key_data_time
gdoc_TEXINFOS += pskc_set_key_data_time.texi
pskc_set_key_data_time.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_data_time $< > $@
gdoc_MANS += pskc_set_key_data_time.3
pskc_set_key_data_time.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_data_time $< > $@
# container.c: pskc_get_key_data_timeinterval
gdoc_TEXINFOS += pskc_get_key_data_timeinterval.texi
pskc_get_key_data_timeinterval.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_data_timeinterval $< > $@
gdoc_MANS += pskc_get_key_data_timeinterval.3
pskc_get_key_data_timeinterval.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_data_timeinterval $< > $@
# container.c: pskc_set_key_data_timeinterval
gdoc_TEXINFOS += pskc_set_key_data_timeinterval.texi
pskc_set_key_data_timeinterval.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_data_timeinterval $< > $@
gdoc_MANS += pskc_set_key_data_timeinterval.3
pskc_set_key_data_timeinterval.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_data_timeinterval $< > $@
# container.c: pskc_get_key_data_timedrift
gdoc_TEXINFOS += pskc_get_key_data_timedrift.texi
pskc_get_key_data_timedrift.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_data_timedrift $< > $@
gdoc_MANS += pskc_get_key_data_timedrift.3
pskc_get_key_data_timedrift.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_data_timedrift $< > $@
# container.c: pskc_set_key_data_timedrift
gdoc_TEXINFOS += pskc_set_key_data_timedrift.texi
pskc_set_key_data_timedrift.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_data_timedrift $< > $@
gdoc_MANS += pskc_set_key_data_timedrift.3
pskc_set_key_data_timedrift.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_data_timedrift $< > $@
# container.c: pskc_get_key_policy_startdate
gdoc_TEXINFOS += pskc_get_key_policy_startdate.texi
pskc_get_key_policy_startdate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_startdate $< > $@
gdoc_MANS += pskc_get_key_policy_startdate.3
pskc_get_key_policy_startdate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_startdate $< > $@
# container.c: pskc_set_key_policy_startdate
gdoc_TEXINFOS += pskc_set_key_policy_startdate.texi
pskc_set_key_policy_startdate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_startdate $< > $@
gdoc_MANS += pskc_set_key_policy_startdate.3
pskc_set_key_policy_startdate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_startdate $< > $@
# container.c: pskc_get_key_policy_expirydate
gdoc_TEXINFOS += pskc_get_key_policy_expirydate.texi
pskc_get_key_policy_expirydate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_expirydate $< > $@
gdoc_MANS += pskc_get_key_policy_expirydate.3
pskc_get_key_policy_expirydate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_expirydate $< > $@
# container.c: pskc_set_key_policy_expirydate
gdoc_TEXINFOS += pskc_set_key_policy_expirydate.texi
pskc_set_key_policy_expirydate.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_expirydate $< > $@
gdoc_MANS += pskc_set_key_policy_expirydate.3
pskc_set_key_policy_expirydate.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_expirydate $< > $@
# container.c: pskc_get_key_policy_pinkeyid
gdoc_TEXINFOS += pskc_get_key_policy_pinkeyid.texi
pskc_get_key_policy_pinkeyid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_pinkeyid $< > $@
gdoc_MANS += pskc_get_key_policy_pinkeyid.3
pskc_get_key_policy_pinkeyid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_pinkeyid $< > $@
# container.c: pskc_set_key_policy_pinkeyid
gdoc_TEXINFOS += pskc_set_key_policy_pinkeyid.texi
pskc_set_key_policy_pinkeyid.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_pinkeyid $< > $@
gdoc_MANS += pskc_set_key_policy_pinkeyid.3
pskc_set_key_policy_pinkeyid.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_pinkeyid $< > $@
# container.c: pskc_get_key_policy_pinusagemode
gdoc_TEXINFOS += pskc_get_key_policy_pinusagemode.texi
pskc_get_key_policy_pinusagemode.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_pinusagemode $< > $@
gdoc_MANS += pskc_get_key_policy_pinusagemode.3
pskc_get_key_policy_pinusagemode.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_pinusagemode $< > $@
# container.c: pskc_set_key_policy_pinusagemode
gdoc_TEXINFOS += pskc_set_key_policy_pinusagemode.texi
pskc_set_key_policy_pinusagemode.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_pinusagemode $< > $@
gdoc_MANS += pskc_set_key_policy_pinusagemode.3
pskc_set_key_policy_pinusagemode.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_pinusagemode $< > $@
# container.c: pskc_get_key_policy_pinmaxfailedattempts
gdoc_TEXINFOS += pskc_get_key_policy_pinmaxfailedattempts.texi
pskc_get_key_policy_pinmaxfailedattempts.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_pinmaxfailedattempts $< > $@
gdoc_MANS += pskc_get_key_policy_pinmaxfailedattempts.3
pskc_get_key_policy_pinmaxfailedattempts.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_pinmaxfailedattempts $< > $@
# container.c: pskc_set_key_policy_pinmaxfailedattempts
gdoc_TEXINFOS += pskc_set_key_policy_pinmaxfailedattempts.texi
pskc_set_key_policy_pinmaxfailedattempts.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_pinmaxfailedattempts $< > $@
gdoc_MANS += pskc_set_key_policy_pinmaxfailedattempts.3
pskc_set_key_policy_pinmaxfailedattempts.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_pinmaxfailedattempts $< > $@
# container.c: pskc_get_key_policy_pinminlength
gdoc_TEXINFOS += pskc_get_key_policy_pinminlength.texi
pskc_get_key_policy_pinminlength.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_pinminlength $< > $@
gdoc_MANS += pskc_get_key_policy_pinminlength.3
pskc_get_key_policy_pinminlength.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_pinminlength $< > $@
# container.c: pskc_set_key_policy_pinminlength
gdoc_TEXINFOS += pskc_set_key_policy_pinminlength.texi
pskc_set_key_policy_pinminlength.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_pinminlength $< > $@
gdoc_MANS += pskc_set_key_policy_pinminlength.3
pskc_set_key_policy_pinminlength.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_pinminlength $< > $@
# container.c: pskc_get_key_policy_pinmaxlength
gdoc_TEXINFOS += pskc_get_key_policy_pinmaxlength.texi
pskc_get_key_policy_pinmaxlength.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_pinmaxlength $< > $@
gdoc_MANS += pskc_get_key_policy_pinmaxlength.3
pskc_get_key_policy_pinmaxlength.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_pinmaxlength $< > $@
# container.c: pskc_set_key_policy_pinmaxlength
gdoc_TEXINFOS += pskc_set_key_policy_pinmaxlength.texi
pskc_set_key_policy_pinmaxlength.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_pinmaxlength $< > $@
gdoc_MANS += pskc_set_key_policy_pinmaxlength.3
pskc_set_key_policy_pinmaxlength.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_pinmaxlength $< > $@
# container.c: pskc_get_key_policy_pinencoding
gdoc_TEXINFOS += pskc_get_key_policy_pinencoding.texi
pskc_get_key_policy_pinencoding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_pinencoding $< > $@
gdoc_MANS += pskc_get_key_policy_pinencoding.3
pskc_get_key_policy_pinencoding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_pinencoding $< > $@
# container.c: pskc_set_key_policy_pinencoding
gdoc_TEXINFOS += pskc_set_key_policy_pinencoding.texi
pskc_set_key_policy_pinencoding.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_pinencoding $< > $@
gdoc_MANS += pskc_set_key_policy_pinencoding.3
pskc_set_key_policy_pinencoding.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_pinencoding $< > $@
# container.c: pskc_get_key_policy_keyusages
gdoc_TEXINFOS += pskc_get_key_policy_keyusages.texi
pskc_get_key_policy_keyusages.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_keyusages $< > $@
gdoc_MANS += pskc_get_key_policy_keyusages.3
pskc_get_key_policy_keyusages.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_keyusages $< > $@
# container.c: pskc_set_key_policy_keyusages
gdoc_TEXINFOS += pskc_set_key_policy_keyusages.texi
pskc_set_key_policy_keyusages.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_keyusages $< > $@
gdoc_MANS += pskc_set_key_policy_keyusages.3
pskc_set_key_policy_keyusages.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_keyusages $< > $@
# container.c: pskc_get_key_policy_numberoftransactions
gdoc_TEXINFOS += pskc_get_key_policy_numberoftransactions.texi
pskc_get_key_policy_numberoftransactions.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_get_key_policy_numberoftransactions $< > $@
gdoc_MANS += pskc_get_key_policy_numberoftransactions.3
pskc_get_key_policy_numberoftransactions.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_get_key_policy_numberoftransactions $< > $@
# container.c: pskc_set_key_policy_numberoftransactions
gdoc_TEXINFOS += pskc_set_key_policy_numberoftransactions.texi
pskc_set_key_policy_numberoftransactions.texi: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_set_key_policy_numberoftransactions $< > $@
gdoc_MANS += pskc_set_key_policy_numberoftransactions.3
pskc_set_key_policy_numberoftransactions.3: ../container.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_set_key_policy_numberoftransactions $< > $@
#
### parser.c
#
gdoc_TEXINFOS += parser.c.texi
parser.c.texi: ../parser.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# parser.c: pskc_init
gdoc_TEXINFOS += pskc_init.texi
pskc_init.texi: ../parser.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_init $< > $@
gdoc_MANS += pskc_init.3
pskc_init.3: ../parser.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_init $< > $@
# parser.c: pskc_done
gdoc_TEXINFOS += pskc_done.texi
pskc_done.texi: ../parser.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_done $< > $@
gdoc_MANS += pskc_done.3
pskc_done.3: ../parser.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_done $< > $@
# parser.c: pskc_parse_from_memory
gdoc_TEXINFOS += pskc_parse_from_memory.texi
pskc_parse_from_memory.texi: ../parser.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_parse_from_memory $< > $@
gdoc_MANS += pskc_parse_from_memory.3
pskc_parse_from_memory.3: ../parser.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_parse_from_memory $< > $@
#
### validate.c
#
gdoc_TEXINFOS += validate.c.texi
validate.c.texi: ../validate.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# validate.c: pskc_validate
gdoc_TEXINFOS += pskc_validate.texi
pskc_validate.texi: ../validate.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_validate $< > $@
gdoc_MANS += pskc_validate.3
pskc_validate.3: ../validate.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_validate $< > $@
#
### build.c
#
gdoc_TEXINFOS += build.c.texi
build.c.texi: ../build.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# build.c: pskc_build_xml
gdoc_TEXINFOS += pskc_build_xml.texi
pskc_build_xml.texi: ../build.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_build_xml $< > $@
gdoc_MANS += pskc_build_xml.3
pskc_build_xml.3: ../build.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_build_xml $< > $@
#
### sign.c
#
gdoc_TEXINFOS += sign.c.texi
sign.c.texi: ../sign.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# sign.c: pskc_sign_x509
gdoc_TEXINFOS += pskc_sign_x509.texi
pskc_sign_x509.texi: ../sign.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_sign_x509 $< > $@
gdoc_MANS += pskc_sign_x509.3
pskc_sign_x509.3: ../sign.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_sign_x509 $< > $@
# sign.c: pskc_verify_x509crt
gdoc_TEXINFOS += pskc_verify_x509crt.texi
pskc_verify_x509crt.texi: ../sign.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_verify_x509crt $< > $@
gdoc_MANS += pskc_verify_x509crt.3
pskc_verify_x509crt.3: ../sign.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_verify_x509crt $< > $@
#
### output.c
#
gdoc_TEXINFOS += output.c.texi
output.c.texi: ../output.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) $< > $@
# output.c: pskc_output
gdoc_TEXINFOS += pskc_output.texi
pskc_output.texi: ../output.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -texinfo $(GDOC_TEXI_EXTRA_ARGS) -function pskc_output $< > $@
gdoc_MANS += pskc_output.3
pskc_output.3: ../output.c
$(AM_V_GEN)mkdir -p `dirname $@`
@$(PERL) ./gdoc -man $(GDOC_MAN_EXTRA_ARGS) -function pskc_output $< > $@
oath-toolkit-2.6.7/libpskc/man/pskc_get_key_userid.3 0000644 0000000 0000000 00000001650 14043326445 017352 0000000 0000000 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_get_key_userid" 3 "2.6.7" "libpskc" "libpskc"
.SH NAME
pskc_get_key_userid \- API function
.SH SYNOPSIS
.B #include