aboutsummaryrefslogtreecommitdiff
path: root/files/ja/mozilla/projects/nss/nss_reference
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/mozilla/projects/nss/nss_reference
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/mozilla/projects/nss/nss_reference')
-rw-r--r--files/ja/mozilla/projects/nss/nss_reference/fc_login/index.html66
-rw-r--r--files/ja/mozilla/projects/nss/nss_reference/index.html200
2 files changed, 266 insertions, 0 deletions
diff --git a/files/ja/mozilla/projects/nss/nss_reference/fc_login/index.html b/files/ja/mozilla/projects/nss/nss_reference/fc_login/index.html
new file mode 100644
index 0000000000..0b7ac5c8a5
--- /dev/null
+++ b/files/ja/mozilla/projects/nss/nss_reference/fc_login/index.html
@@ -0,0 +1,66 @@
+---
+title: FC_Login
+slug: Mozilla/Projects/NSS/NSS_reference/FC_Login
+tags:
+ - NSS
+translation_of: Mozilla/Projects/NSS/Reference/FC_Login
+---
+<p> </p><p><br>
+</p><p>{{ 英語版章題("Name") }}
+</p>
+<h3 id="Name" name="Name"> Name </h3>
+<p><code>FC_Login()</code> - log a user into a token.
+</p><p>{{ 英語版章題("Syntax") }}
+</p>
+<h3 id="Syntax" name="Syntax"> Syntax </h3>
+<pre class="eval"><a href="ja/CK_RV">CK_RV</a> FC_Login(
+ <a href="ja/CK_SESSION_HANDLE">CK_SESSION_HANDLE</a> hSession,
+ <a href="ja/CK_USER_TYPE">CK_USER_TYPE</a> userType,
+ <a href="ja/CK_CHAR">CK_CHAR_PTR</a> pPin,
+ <a href="ja/CK_ULONG">CK_ULONG</a> ulPinLen
+);
+</pre>
+<p>{{ 英語版章題("Parameters") }}
+</p>
+<h3 id="Parameters" name="Parameters"> Parameters </h3>
+<p><code>FC_Login()</code> takes four parameters:
+</p>
+<dl><dt><code>hSession</code>
+</dt><dd>{{ mediawiki.external('in') }} a session handle
+</dd><dt><code>userType</code>
+</dt><dd>{{ mediawiki.external('in') }} the user type (<code>CKU_SO</code> or <code>CKU_USER</code>)
+</dd><dt><code>pPin</code>
+</dt><dd>{{ mediawiki.external('in') }} a pointer that points to the user's PIN
+</dd><dt><code>ulPinLen</code>
+</dt><dd>{{ mediawiki.external('in') }} the length of the PIN
+</dd></dl>
+<p>{{ 英語版章題("Description") }}
+</p>
+<h3 id="Description" name="Description"> Description </h3>
+<p><code>FC_Login()</code> logs a user into a token.
+</p><p>The Security Officer (<code>CKU_SO</code>) only logs in to initialize the normal user's PIN. The SO PIN is the empty string. The NSS cryptographic module doesn't allow the SO to log in if the normal user's PIN is already initialized.
+</p><p>{{ 英語版章題("Return value") }}
+</p>
+<h3 id="Return_value" name="Return_value"> Return value </h3>
+<p><code>FC_Login()</code> returns the following return codes.
+</p>
+<ul><li> <code>CKR_OK</code>: the user logged in successfully.
+</li><li> <code>CKR_DEVICE_ERROR</code>: the token is in the Error state.
+</li><li> <code>CKR_HOST_MEMORY</code>: memory allocation failed.
+</li><li> <code>CKR_PIN_INCORRECT</code>: the PIN is incorrect.
+</li><li> <code>CKR_PIN_LEN_RANGE</code>: the PIN is too long (<code>ulPinLen</code> is greater than 255).<div class="note">The function should return <code>CKR_PIN_INCORRECT</code> in this case.</div>
+</li><li> <code>CKR_SESSION_HANDLE_INVALID</code>: the session handle is invalid.
+</li><li> <code>CKR_USER_ALREADY_LOGGED_IN</code>: the user is already logged in.
+</li><li> <code>CKR_USER_TYPE_INVALID</code>
+<ul><li> The token can't authenticate the user because there is no key database or the user's password isn't initialized.
+</li><li> <code>userType</code> is <code>CKU_SO</code> and the normal user's PIN is already initialized.
+</li></ul>
+</li></ul>
+<p>{{ 英語版章題("See also") }}
+</p>
+<h3 id="See_also" name="See_also"> See also </h3>
+<ul><li> <a href="ja/NSC_Login">NSC_Login</a>
+</li></ul>
+<div class="noinclude">
+</div>
+{{ languages( { "en": "en/FC_Login" } ) }}
diff --git a/files/ja/mozilla/projects/nss/nss_reference/index.html b/files/ja/mozilla/projects/nss/nss_reference/index.html
new file mode 100644
index 0000000000..b1a02b000e
--- /dev/null
+++ b/files/ja/mozilla/projects/nss/nss_reference/index.html
@@ -0,0 +1,200 @@
+---
+title: NSS リファレンス
+slug: Mozilla/Projects/NSS/NSS_reference
+tags:
+ - NSS
+translation_of: Mozilla/Projects/NSS/Reference
+---
+<h3 id=".E6.B3.A8.E6.84.8F.E4.BA.8B.E9.A0.85" name=".E6.B3.A8.E6.84.8F.E4.BA.8B.E9.A0.85">注意事項</h3>
+
+<div class="note">
+<ul>
+ <li>We are migrating the <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/ssl/">SSL Reference</a> from www.mozilla.org. If you are inclined to help with this migration, your help would be very much appreciated.</li>
+</ul>
+
+<ul>
+ <li>The proposed chapters below are based on the chapters of the SSL Reference and the categories of functions in <a class="external" href="http://developer.mozilla.org/en/docs/NSS_functions">NSS Public Functions</a>.</li>
+</ul>
+
+<ul>
+ <li>Should a particular page require the use of an underscore, please see the documentation for the <a>Title Override Extension</a>.</li>
+</ul>
+</div>
+
+<h3 id="NSS_.E3.81.AE.E3.83.93.E3.83.AB.E3.83.89.E3.81.A8.E3.82.A4.E3.83.B3.E3.82.B9.E3.83.88.E3.83.BC.E3.83.AB" name="NSS_.E3.81.AE.E3.83.93.E3.83.AB.E3.83.89.E3.81.A8.E3.82.A4.E3.83.B3.E3.82.B9.E3.83.88.E3.83.BC.E3.83.AB"><a href="ja/NSS_reference/Building_and_installing_NSS">NSS のビルドとインストール</a></h3>
+
+<h3 id="NSS_.E3.82.A2.E3.83.97.E3.83.AA.E3.82.B1.E3.83.BC.E3.82.B7.E3.83.A7.E3.83.B3.E3.81.AE.E6.A6.82.E8.A6.B3" name="NSS_.E3.82.A2.E3.83.97.E3.83.AA.E3.82.B1.E3.83.BC.E3.82.B7.E3.83.A7.E3.83.B3.E3.81.AE.E6.A6.82.E8.A6.B3">NSS アプリケーションの概観</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslintro.html">"Overview of an SSL Application"</a> in the SSL Reference.</p>
+
+<h3 id="NSS_.E5.85.A5.E9.96.80" name="NSS_.E5.85.A5.E9.96.80">NSS 入門</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/ssl/gtstd.html">"Getting Started With SSL"</a> in the SSL Reference.</p>
+
+<h3 id=".E3.83.87.E3.83.BC.E3.82.BF.E5.9E.8B" name=".E3.83.87.E3.83.BC.E3.82.BF.E5.9E.8B">データ型</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/ssl/ssltyp.html">"Selected SSL Types and Structures"</a> in the SSL Reference.</p>
+
+<h3 id=".E3.83.A6.E3.83.BC.E3.83.86.E3.82.A3.E3.83.AA.E3.83.86.E3.82.A3.E9.96.A2.E6.95.B0" name=".E3.83.A6.E3.83.BC.E3.83.86.E3.82.A3.E3.83.AA.E3.83.86.E3.82.A3.E9.96.A2.E6.95.B0">ユーティリティ関数</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#utils">"Utility Functions"</a> in NSS Public Functions.</p>
+
+<h3 id=".E8.A8.BC.E6.98.8E.E6.9B.B8.E9.96.A2.E6.95.B0" name=".E8.A8.BC.E6.98.8E.E6.9B.B8.E9.96.A2.E6.95.B0">証明書関数</h3>
+
+<p>Based on <a href="ja/NSS_Certificate_Functions">Certificate Functions</a> in the SSL Reference and <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#cert">"Certificate Functions"</a> in NSS Public Functions.</p>
+
+<ul>
+ <li><a href="ja/NSS_Certificate_Functions#Validating_Certificates">Validating Certificates</a>
+
+ <ul>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_VerifyCertNow">CERT_VerifyCertNow</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_VerifyCert">CERT_VerifyCert</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_VerifyCertName">CERT_VerifyCertName</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_CheckCertValidTimes">CERT_CheckCertValidTimes</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#NSS_CmpCertChainWCANames">NSS_CmpCertChainWCANames</a></li>
+ </ul>
+ </li>
+ <li><a href="ja/NSS_Certificate_Functions#Manipulating_Certificates">Manipulating Certificates</a>
+ <ul>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_DupCertificate">CERT_DupCertificate</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_DestroyCertificate">CERT_DestroyCertificate</a></li>
+ <li>SEC_DeletePermCertificate</li>
+ <li>__CERT_ClosePermCertDB</li>
+ </ul>
+ </li>
+ <li><a href="ja/NSS_Certificate_Functions#Getting_Certificate_Information">Getting Certificate Information</a>
+ <ul>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_FindCertByName">CERT_FindCertByName</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_GetCertNicknames">CERT_GetCertNicknames</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_FreeNicknames">CERT_FreeNicknames</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#CERT_GetDefaultCertDB">CERT_GetDefaultCertDB</a></li>
+ <li><a href="ja/NSS_Certificate_Functions#NSS_FindCertKEAType">NSS_FindCertKEAType</a></li>
+ </ul>
+ </li>
+ <li><a href="ja/NSS_Certificate_Functions#Comparing_SecItem_Objects">Comparing SecItem Objects</a>
+ <ul>
+ <li><a href="ja/NSS_Certificate_Functions#SECITEM_CompareItem">SECITEM_CompareItem</a></li>
+ </ul>
+ </li>
+</ul>
+
+<h3 id=".E9.8D.B5.E9.96.A2.E6.95.B0" name=".E9.8D.B5.E9.96.A2.E6.95.B0">鍵関数</h3>
+
+<p>Based on <a href="ja/NSS_Key_Functions">Key Functions</a> in the SSL Reference.</p>
+
+<ul>
+ <li><a href="ja/NSS_Key_Functions#SECKEY_GetDefaultKeyDB">SECKEY_GetDefaultKeyDB</a></li>
+ <li><a href="ja/NSS_Key_Functions#SECKEY_DestroyPrivateKey">SECKEY_DestroyPrivateKey</a></li>
+</ul>
+
+<h3 id=".E9.9B.BB.E5.AD.90.E7.BD.B2.E5.90.8D" name=".E9.9B.BB.E5.AD.90.E7.BD.B2.E5.90.8D">電子署名</h3>
+
+<p>This API consists of the routines used to perform signature generation and the routines used to perform signature verification.</p>
+
+<h3 id=".E6.9A.97.E5.8F.B7.E5.8C.96.2F.E5.BE.A9.E5.8F.B7.E5.8C.96" name=".E6.9A.97.E5.8F.B7.E5.8C.96.2F.E5.BE.A9.E5.8F.B7.E5.8C.96">暗号化/復号化</h3>
+
+<h3 id=".E3.83.8F.E3.83.83.E3.82.B7.E3.83.A5" name=".E3.83.8F.E3.83.83.E3.82.B7.E3.83.A5">ハッシュ</h3>
+
+<h3 id=".E9.8D.B5.E7.94.9F.E6.88.90" name=".E9.8D.B5.E7.94.9F.E6.88.90">鍵生成</h3>
+
+<p>Generate keys, key pairs, and domain parameters.</p>
+
+<h3 id=".E4.B9.B1.E6.95.B0.E7.94.9F.E6.88.90" name=".E4.B9.B1.E6.95.B0.E7.94.9F.E6.88.90">乱数生成</h3>
+
+<p>This API consists of the two routines used for pseudorandom number generation -- PK11_GenerateRandomOnSlot and PK11_GenerateRandom -- and the two routines used for seeding pseudorandom number generation -- PK11_SeedRandom and PK11_RandomUpdate.</p>
+
+<h3 id="PKCS_.2311_.E9.96.A2.E6.95.B0" name="PKCS_.2311_.E9.96.A2.E6.95.B0">PKCS #11 関数</h3>
+
+<p>Based on <a href="ja/NSS_PKCS11_Functions">PKCS #11 Functions</a> in the SSL Reference and <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#crypto">"Crypto Functions"</a> in NSS Public Functions.</p>
+
+<ul>
+ <li><a href="ja/NSS_PKCS11_Functions#SECMOD_LoadUserModule">SECMOD_LoadUserModule</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#SECMOD_UnloadUserModule">SECMOD_UnloadUserModule</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#SECMOD_CloseUserDB">SECMOD_CloseUserDB</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#SECMOD_OpenUserDB">SECMOD_OpenUserDB</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_FindCertFromNickname">PK11_FindCertFromNickname</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_FindKeyByAnyCert">PK11_FindKeyByAnyCert</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_GetSlotName">PK11_GetSlotName</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_GetTokenName">PK11_GetTokenName</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_IsHW">PK11_IsHW</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_IsPresent">PK11_IsPresent</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_IsReadOnly">PK11_IsReadOnly</a></li>
+ <li><a href="ja/NSS_PKCS11_Functions#PK11_SetPasswordFunc">PK11_SetPasswordFunc</a></li>
+</ul>
+
+<h3 id="SSL_.E9.96.A2.E6.95.B0" name="SSL_.E9.96.A2.E6.95.B0">SSL 関数</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslfnc.html">"SSL Functions"</a> in the SSL Reference and <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#ssl">"SSL Functions"</a> and <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#dep">"Deprecated SSL Functions"</a> in NSS Public Functions.</p>
+
+<ul>
+ <li>SSL_ConfigServerSessionIDCache</li>
+ <li>SSL_ClearSessionCache</li>
+</ul>
+
+<h3 id="S.2FMIME" name="S.2FMIME">S/MIME</h3>
+
+<p>Based on the <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/smime/">S/MIME Reference</a> (which only has one written chapter) and <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#smime">"S/MIME Functions"</a> in NSS Public Functions.</p>
+
+<h3 id="PKCS_.237_.E9.96.A2.E6.95.B0" name="PKCS_.237_.E9.96.A2.E6.95.B0">PKCS #7 関数</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#pkcs7">"PKCS #7 Functions"</a> in NSS Public Functions.</p>
+
+<h3 id="PKCS_.235_.E9.96.A2.E6.95.B0" name="PKCS_.235_.E9.96.A2.E6.95.B0">PKCS #5 関数</h3>
+
+<p>Password-based encryption</p>
+
+<ul>
+ <li>SEC_PKCS5GetIV</li>
+ <li>SEC_PKCS5CreateAlgorithmID</li>
+ <li>SEC_PKCS5GetCryptoAlgorithm</li>
+ <li>SEC_PKCS5GetKeyLength</li>
+ <li>SEC_PKCS5GetPBEAlgorithm</li>
+ <li>SEC_PKCS5IsAlgorithmPBEAlg</li>
+</ul>
+
+<h3 id="PKCS_.2312_.E9.96.A2.E6.95.B0" name="PKCS_.2312_.E9.96.A2.E6.95.B0">PKCS #12 関数</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#pkcs12">"PKCS #12 Functions"</a> in NSS Public Functions. Used to exchange data such as private keys and certificates between two parties.</p>
+
+<ul>
+ <li>SEC_PKCS12CreateExportContext</li>
+ <li>SEC_PKCS12CreatePasswordPrivSafe</li>
+ <li>SEC_PKCS12CreateUnencryptedSafe</li>
+ <li>SEC_PKCS12AddCertAndKey</li>
+ <li>SEC_PKCS12AddPasswordIntegrity</li>
+ <li>SEC_PKCS12EnableCipher</li>
+ <li>SEC_PKCS12Encode</li>
+ <li>SEC_PKCS12DestroyExportContext</li>
+ <li>SEC_PKCS12DecoderStart</li>
+ <li>SEC_PKCS12DecoderImportBags</li>
+ <li>SEC_PKCS12DecoderUpdate</li>
+ <li>SEC_PKCS12DecoderFinish</li>
+ <li>SEC_PKCS12DecoderValidateBags</li>
+ <li>SEC_PKCS12DecoderVerify</li>
+ <li>SEC_PKCS12DecoderGetCerts</li>
+ <li>SEC_PKCS12DecoderSetTargetTokenCAs</li>
+ <li>SEC_PKCS12DecoderIterateInit</li>
+ <li>SEC_PKCS12DecoderIterateNext</li>
+ <li>SEC_PKCS12IsEncryptionAllowed</li>
+ <li>SEC_PKCS12SetPreferredCipher</li>
+</ul>
+
+<h3 id=".E3.82.A8.E3.83.A9.E3.83.BC.E3.82.B3.E3.83.BC.E3.83.89" name=".E3.82.A8.E3.83.A9.E3.83.BC.E3.82.B3.E3.83.BC.E3.83.89">エラーコード</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslerr.html">"NSS and SSL Error Codes"</a> in the SSL Reference.</p>
+
+<h3 id="NSS_.E7.92.B0.E5.A2.83.E5.A4.89.E6.95.B0" name="NSS_.E7.92.B0.E5.A2.83.E5.A4.89.E6.95.B0"><a href="ja/NSS_reference/NSS_environment_variables">NSS 環境変数</a></h3>
+
+<h3 id="NSS_.E6.9A.97.E5.8F.B7.E3.83.A2.E3.82.B8.E3.83.A5.E3.83.BC.E3.83.AB" name="NSS_.E6.9A.97.E5.8F.B7.E3.83.A2.E3.82.B8.E3.83.A5.E3.83.BC.E3.83.AB"><a href="ja/NSS_reference/NSS_cryptographic_module">NSS 暗号モジュール</a></h3>
+
+<h3 id="NSS_.E6.8A.80.E8.A1.93.E3.83.8E.E3.83.BC.E3.83.88" name="NSS_.E6.8A.80.E8.A1.93.E3.83.8E.E3.83.BC.E3.83.88">NSS 技術ノート</h3>
+
+<p><a class="external" href="http://www.mozilla.org/projects/security/pki/nss/tech-notes">NSS Tech Notes</a> <a href="ja/NSS_Memory_allocation">NSS Memory allocation</a></p>
+
+<h3 id=".E3.83.84.E3.83.BC.E3.83.AB" name=".E3.83.84.E3.83.BC.E3.83.AB">ツール</h3>
+
+<p>Based on <a class="external" href="http://www.mozilla.org/projects/security/pki/nss/tools/">NSS Tools</a> documentation on www.mozilla.org.</p>
+
+<div class="noinclude"></div>
+
+<p>{{ languages( { "en": "en/NSS_reference" } ) }}</p>