From: nakaji Date: Tue, 16 Aug 2005 13:21:33 +0000 (+0000) Subject: Translated with no warranty. X-Git-Tag: ngnus-0_4-doc-ja~192 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e4fd1ec7d6e9ee1e28a004cae3b8cc82c72cad9;p=elisp%2Fgnus-doc-ja.git Translated with no warranty. --- diff --git a/pgg-ja.texi b/pgg-ja.texi index 99ebf94..43ca9fb 100644 --- a/pgg-ja.texi +++ b/pgg-ja.texi @@ -67,9 +67,10 @@ Emacs $B$NCg$roMQ$$$i$l$kJ,N%$5$l$?(B PGP $B%a%C%;!<%8$roMQ$$$i$l$kJ,N%$5$l$?(B +PGP $B%a%C%;!<%8$r$l$,(B +$B;}$C$F$$$k8D!9$N5!G=$,$:$$$V$s0[$J$C$F$$$k$3$H$,$"$j$^$9!#Nc$($P!"$"$J$?(B +$B$,(B GnuPG $B$r$*;H$$$J$i!"0E9f%"%k%4%j%:%`$K(B 3DES $B$d(B CAST5$B!"(BBLOWFISH $B$J$I$r(B +$BA*$V$3$H$,$G$-$k$,!"(BPGP $B$N%P!<%8%g%s(B 2 $B$G$O(B IDEA $B$7$+%5%]!<%H$5$l$F$$$J(B +$B$$$3$H$r$4B8$8$G$7$g$&!#(B -By default, if the variable @code{pgg-scheme} is not set, PGG searches the -registered scheme for an implementation of the requested service -associated with the named algorithm. If there are no match, PGG uses -@code{pgg-default-scheme}. In other words, there are two options to -control which command is used to process the incoming PGP armors. One -is for encrypting and signing, the other is for decrypting and -verifying. +$B%G%U%)%k%H$G$O!"(B@code{pgg-scheme} $BJQ?t$,@_Dj$5$l$F$$$J$1$l$P!"(BPGG $B$O$"$i(B +$B$+$8$aMQ0U$5$l$?%9%-!<%`(B (scheme) $B$+$i!"MQ$$$?$$0E9f%"%k%4%j%:%`$KI,MW$J(B +$B%5!<%S%9$N$K$D$$$F!"$b$&0lJ}$OI|9f2=$H8!>Z$K$D$$$F!"$G$9!#(B @defvar pgg-scheme -Force specify the scheme of PGP implementation for decrypting and verifying. -The value can be @code{gpg}, @code{pgp}, and @code{pgp5}. +$BI|9f2=$H8!>Z$K$I$N(B PGP $B$K$I$N(B PGP $Bo!"0E9f2=$*$h$SI|9f2=$K;H$&E,@Z$J80$rA*$V$3$H$,$G$-$^$9(B +$B$,!"$"$J$?$,(B1$B$D0J>e$N80$r;}$C$F$$$k>l9g!"MQ$$$k80$N(B id $B$r;XDj$9$kI,MW$,(B +$B$"$j$^$9!#(B @defvar pgg-default-user-id -User ID of your default identity. It defaults to the value returned -by @samp{(user-login-name)}. You can customize this variable. +$B$"$J$?<+?H$NDL>oMQ$$$k%f!<%6(B ID $B$G$9!#(B +$B;XDj$7$J$$>l9g!"=i4|CM$O(B @samp{(user-login-name)} $B$NLaCM$G7hDj$5$l$^$9!#(B +$B%+%9%?%^%$%:2DG=$G$9!#(B @end defvar @defvar pgg-gpg-user-id -User ID of the GnuPG default identity. It defaults to @samp{nil}. -This overrides @samp{pgg-default-user-id}. You can customize this -variable. +GnuPG $B$G;H$&$"$J$?<+?H$N%f!<%6(B ID $B$G$9!#%G%U%)%k%H$O(B @samp{nil} $B$G$9!#(B +$B$3$NCM$O(B @samp{pgg-default-user-id} $B$r>e=q$-$7$^$9!#%+%9%?%^%$%:2DG=$G$9!#(B @end defvar @defvar pgg-pgp-user-id -User ID of the PGP 2.x/6.x default identity. It defaults to -@samp{nil}. This overrides @samp{pgg-default-user-id}. You can -customize this variable. +PGP 2.x/6.x $B$G;H$&$"$J$?<+?H$N%f!<%6(B ID $B$G$9!#(B +$B%G%U%)%k%H$O(B @samp{nil} $B$G$9!#$3$NCM$O(B @samp{pgg-default-user-id} $B$r>e=q(B +$B$-$7$^$9!#%+%9%?%^%$%:2DG=$G$9!#(B @end defvar @defvar pgg-pgp5-user-id -User ID of the PGP 5.x default identity. It defaults to @samp{nil}. -This overrides @samp{pgg-default-user-id}. You can customize this -variable. +PGP 5.x $B$G;H$&$"$J$?<+?H$N%f!<%6(B ID $B$G$9!#%G%U%)%k%H$O(B @samp{nil} $B$G$9!#(B +$B$3$NCM$O(B @samp{pgg-default-user-id} $B$r>e=q$-$7$^$9!#%+%9%?%^%$%:2DG=$G$9!#(B @end defvar @node Architecture @chapter Architecture -PGG introduces the notion of a "scheme of PGP implementation" (used -interchangeably with "scheme" in this document). This term refers to a -singleton object wrapped with the luna object system. +PGG $B$O!V(BPGP $BO$G$O!"(BPGG $B$N%P%C%/%(%s%I$r$I$N$h$&$K5-=R$9$k$+$rC5$7$J$,$i!"(BPGG $B$,(B +$B$I$N$h$&$K$D$/$i$l$F$$$k$+$rC58!$7$F$_$^$7$g$&!#(B @menu * Initializing:: @@ -271,12 +270,13 @@ while finding out how to write the PGG back end. @node Initializing @section Initializing -A scheme must be initialized before it is used. -It had better guarantee to keep only one instance of a scheme. +$B%9%-!<%`$O!";H$&A0$K=i4|2=$5$l$J$1$l$P$J$j$^$;$s!#(B +$B$?$@$R$H$D$N%9%-!<%`$rJ]$D$h$&J]>Z$9$k$N$,$h$$$G$7$g$&!#(B -The following code is snipped out of @file{pgg-gpg.el}. Once an -instance of @code{pgg-gpg} scheme is initialized, it's stored to the -variable @code{pgg-scheme-gpg-instance} and will be reused from now on. +$B0J2<$N%3!<%I$O(B @file{pgg-gpg.el} $B$+$i$NH4$-=q$-$G$9!#(B +$B0lC6!"$"$k(B @code{pgg-gpg} $B$N%9%-!<%`$,=i4|2=$5$l$k$H!"(B +$B$=$l$O(B @code{pgg-scheme-gpg-instance} $BJQ?t$KJ]B8$5$l!"0J8e!":FMxMQ$5$l$^(B +$B$9!#(B @lisp (defvar pgg-scheme-gpg-instance nil) @@ -287,100 +287,97 @@ variable @code{pgg-scheme-gpg-instance} and will be reused from now on. (luna-make-entity 'pgg-scheme-gpg)))) @end lisp -The name of the function must follow the -regulation---@code{pgg-make-scheme-} follows the back end name. +$B4X?t$NL>A0$O(B @code{pgg-make-scheme-} $B$N8e$m$K%P%C%/%(%s%IL>$,IU2C$9$k$h(B +$B$&$KIU$1$i$l$J$1$l$P$J$j$^$;$s!#(B @node Back end methods @section Back end methods -In each back end, these methods must be present. The output of these -methods is stored in special buffers (@ref{Getting output}), so that -these methods must tell the status of the execution. +$B3F%P%C%/%(%s%I$K$O%a%=%C%I$,B8:_$7$J$1$l$P$J$j$^$;$s!#%a%=%C%I$N$H0E9f2=$,F1;~$K(B +$B9T$o$l$^$9!#0E9f2=$K@.8y$9$k$H(B @code{t} $B$r!"<:GT$9$k$H(B @code{nil} $B$rJV$7(B +$B$^$9!#(B @end deffn @deffn Method pgg-scheme-decrypt-region scheme start end -Decrypt the current region between @var{start} and @var{end}. If -decryption is successful, it returns @code{t}, otherwise @code{nil}. +@var{start}$B$H(B@var{end}$B$N4V$G;XDj$5$l$?8=:_$NHO0O$rI|9f2=$7$^$9!#I|9f2=$K(B +$B@.8y$9$k$H(B @code{t} $B$r!"<:GT$9$k$H(B @code{nil} $B$rJV$7$^$9!#(B @end deffn @deffn Method pgg-scheme-sign-region scheme start end &optional cleartext -Make the signature from text between @var{start} and @var{end}. If the -optional third argument @var{cleartext} is non-@code{nil}, it does not -create a detached signature. If signing is successful, it returns -@code{t}, otherwise @code{nil}. +@var{start}$B$H(B@var{end}$B$N4V$N%F%-%9%H$K=pL>$7$^$9!#(B3$BHVL\$N%*%W%7%g%s0z?t(B +@var{cleartext} $B$,(B non-@code{nil} $B$G$"$k$+!"$"$k$$$OBPOCE*$K8F$P$l$?>l9g!"(B +$BJ,N%$5$l$?=pL>$O:n$i$l$^$;$s!#=pL>$K@.8y$9$k$H(B @code{t} $B$r!"(B +$B<:GT$9$k$H(B @code{nil} $B$rJV$7$^$9!#(B @end deffn @deffn Method pgg-scheme-verify-region scheme start end &optional signature -Verify the current region between @var{start} and @var{end}. If the -optional third argument @var{signature} is non-@code{nil}, it is treated -as the detached signature of the current region. If the signature is -successfully verified, it returns @code{t}, otherwise @code{nil}. +@var{start}$B$H(B@var{end}$B$N4V$NHO0O$r8!::$7$^$9!#(B3$BHVL\$N%*%W%7%g%s0z?t(B +@var{signature} $B$,(B non-@code{nil} $B$G$"$k>l9g!"J,N%$5$l$?=pL>$H$7$F$,@5$7$/8!>Z$5$l$?>l9g!"(B@code{t} $B$r!"(B +$B<:GT$9$k$H(B @code{nil}$B$rJV$7$^$9!#(B @end deffn @deffn Method pgg-scheme-insert-key scheme -Retrieve the user's public key and insert it as ASCII-armored format. -On success, it returns @code{t}, otherwise @code{nil}. +$B%f!<%6$N8x3+80$r$N7k2L>pJs$O!"$3$N%P%C%U%!$KJ]B8$5$l$^$9!#(B @end defvar @node Parsing OpenPGP packets @chapter Parsing OpenPGP packets -The format of OpenPGP messages is maintained in order to publish all -necessary information needed to develop interoperable applications. -The standard is documented in RFC 2440. +OpenPGP $B$N%a%C%;!<%8$N%U%)!<%^%C%H$O!"Aj8_1?MQ$G$-$k%"%W%j%1!<%7%g%s3+H/(B +$B$KI,MW$J$9$Y$F$N>pJs$r=PNO$9$k$h$&$K0];}$5$l$F$$$^$9!#(B +$B$=$NI8=`$O!"(BRFC2440 $B$K5-:\$5$l$F$$$^$9!#(B -PGG has its own parser for the OpenPGP packets. +PGG $B$O(B OpenPGP $B$KBP1~$7$?FH<+$N%a%C%;!<%82r@O$r9T$$$^$9!#(B @defun pgg-parse-armor string -List the sequence of packets in @var{string}. +@var{string} $BFb$N%Q%1%C%H$NJB$S$r0lMw$7$^$9!#(B @end defun @defun pgg-parse-armor-region start end -List the sequence of packets in the current region between @var{start} -and @var{end}. +@var{start}$B$H(B@var{end}$B$N4V$NHO0OFb$N%Q%1%C%H$NJB$S$r0lMw$7$^$9!#(B @end defun @defvar pgg-ignore-packet-checksum -If non-@code{nil}, don't check the checksum of the packets. +non-@code{nil} $B$J$i$P!"%Q%1%C%H$N%A%'%C%/%5%`$r8!>Z$7$^$;$s!#(B @end defvar @node Function Index