-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(website): add option to hide code sources
- Loading branch information
Showing
27 changed files
with
465 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,5 +19,5 @@ npm-debug.log* | |
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
**/docs/**/*.md | ||
**/docs/**/*.yml | ||
|
||
/docs/api/ |
3 changes: 3 additions & 0 deletions
3
...te/docs/examples/certificates-and-revocation/create-and-validate-certificate.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Create and validate certificate | ||
|
||
In this example, you will see how to create a self-signed X.509 certificate, parse an X.509 certificate, and show how to do certificate chain validation engine |
3 changes: 3 additions & 0 deletions
3
website/docs/examples/certificates-and-revocation/creating-and-parsing-CRLs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Creating and parsing CRLs | ||
|
||
In this example, you will see how to create a CRL, parse, and validate it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import DocCardList from '@theme/DocCardList'; | ||
|
||
# Certificates and Revocation | ||
|
||
<DocCardList /> |
3 changes: 3 additions & 0 deletions
3
website/docs/examples/certificates-and-revocation/working-with-OCSP-requests.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with OCSP requests | ||
|
||
In this example, you will see how to create and parse OCSP requests. |
3 changes: 3 additions & 0 deletions
3
website/docs/examples/certificates-and-revocation/working-with-OCSP-responses.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with OCSP responses | ||
|
||
In this example, you will see how to create and parse OCSP responses. |
3 changes: 3 additions & 0 deletions
3
.../docs/examples/certificates-and-revocation/working-with-certificate-requests.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with certificate requests | ||
|
||
In this example, you will see how to create a CSR, parse it and verify its signature. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# S/MIME signature encryption | ||
|
||
In this example, you will see how to encrypt S/MIME messages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# S/MIME signature verification | ||
|
||
In this example, you will see how to verify S/MIME messages. |
3 changes: 3 additions & 0 deletions
3
website/docs/examples/other/how-to-verify-a-signature-in-a-PDF-file.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# How to verify a signature in a PDF file | ||
|
||
In this example, you will see how to verify signatures inside PDF files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import DocCardList from '@theme/DocCardList'; | ||
|
||
# Other | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with PKCS#12 files | ||
|
||
In this example, you will see how to create a PKCS#12 (sometimes called a PFX) and parse it. |
5 changes: 5 additions & 0 deletions
5
website/docs/examples/signing-and-encryption-with-CMS/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import DocCardList from '@theme/DocCardList'; | ||
|
||
# Signing and Encryption with CMS | ||
|
||
<DocCardList /> |
3 changes: 3 additions & 0 deletions
3
...igning-and-encryption-with-CMS/working-with-CMS-certificate-based-encryption.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with CMS Certificate-based Encryption | ||
|
||
In this example, you will see how to create and decrypt an Enveloped CMS message using an existing X.509 certificate. |
3 changes: 3 additions & 0 deletions
3
...s/signing-and-encryption-with-CMS/working-with-CMS-password-based-encryption.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with CMS password-based Encryption | ||
|
||
In this example, you will see how to create and decrypt a pre-shared key encrypted CMS message. |
3 changes: 3 additions & 0 deletions
3
website/docs/examples/signing-and-encryption-with-CMS/working-with-CMS-signing.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with CMS Signing | ||
|
||
In this example, you will see how to sign any file using CMS. |
3 changes: 3 additions & 0 deletions
3
...les/signing-and-encryption-with-CMS/working-with-PKCS-7-certificate-bags-P7B.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Working with PKCS#7 Certificate bags (P7B) | ||
|
||
In this example, you will see how to create a "certificate bag" |
3 changes: 3 additions & 0 deletions
3
website/docs/examples/timestamping/creating-a-timestamp-request.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Creating a Timestamp request | ||
|
||
In this example, you will see how to create and parse a timestamp request. |
3 changes: 3 additions & 0 deletions
3
website/docs/examples/timestamping/creating-a-timestamp-response.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Creating a Timestamp response | ||
|
||
In this example, you will see how to create, parse and verify timestamp responses. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import DocCardList from '@theme/DocCardList'; | ||
|
||
# Timestamping | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Installation | ||
|
||
Run one of the following commands to add `pkijs` to your project: | ||
|
||
```bash npm2yarn | ||
npm install pkijs | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; | ||
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'; | ||
|
||
/** | ||
* Creating a sidebar enables you to: | ||
- create an ordered group of docs | ||
- render a sidebar for each doc of that group | ||
- provide next/previous navigation | ||
The sidebars can be generated from the filesystem, or explicitly defined here. | ||
Create as many sidebars as you want. | ||
*/ | ||
const sidebars: SidebarsConfig = { | ||
// By default, Docusaurus generates a sidebar from the docs folder structure | ||
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], | ||
|
||
// But you can create a sidebar manually | ||
/* | ||
tutorialSidebar: [ | ||
'intro', | ||
'hello', | ||
docs: [ | ||
'installation', | ||
{ | ||
type: 'category', | ||
label: 'Tutorial', | ||
items: ['tutorial-basics/create-a-document'], | ||
label: 'API', | ||
collapsed: false, | ||
items: [ | ||
{ | ||
type: 'autogenerated', | ||
dirName: 'api', | ||
}, | ||
], | ||
}, | ||
], | ||
*/ | ||
examples: [ | ||
{ | ||
type: 'autogenerated', | ||
dirName: 'examples', | ||
} | ||
], | ||
}; | ||
|
||
export default sidebars; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.