Skip to content

Commit

Permalink
fixup! Implement Certificate Revocation List
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielius1922 committed Oct 28, 2024
1 parent 72fc4bd commit 36e6847
Show file tree
Hide file tree
Showing 15 changed files with 1,986 additions and 209 deletions.
2 changes: 1 addition & 1 deletion certificate-authority/pb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
| valid_until_date | [int64](#int64) | | Record valid until date, in unix nanoseconds timestamp format

@gotags: bson:"validUntilDate" |
| serial | [string](#string) | | Serial number of the last certificat issued
| serial | [string](#string) | | Serial number of the last certificate issued

@gotags: bson:"serial" |
| issuer_id | [string](#string) | | Issuer id is calculated from the issuer's public certificate, and it is computed as uuid.NewSHA1(uuid.NameSpaceX500, publicKeyRaw)
Expand Down
30 changes: 29 additions & 1 deletion certificate-authority/pb/doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,13 @@ <h4>Methods with HTTP bindings</h4>
<td>*</td>
</tr>

<tr>
<td>SignIdentityCertificate</td>
<td>POST</td>
<td>/certificate-authority/api/v1/sign/identity-csr</td>
<td>*</td>
</tr>




Expand All @@ -393,6 +400,13 @@ <h4>Methods with HTTP bindings</h4>
<td>*</td>
</tr>

<tr>
<td>SignCertificate</td>
<td>POST</td>
<td>/certificate-authority/api/v1/sign/csr</td>
<td>*</td>
</tr>




Expand All @@ -403,6 +417,13 @@ <h4>Methods with HTTP bindings</h4>
<td></td>
</tr>

<tr>
<td>GetSigningRecords</td>
<td>GET</td>
<td>/certificate-authority/api/v1/signing/records</td>
<td></td>
</tr>




Expand All @@ -413,6 +434,13 @@ <h4>Methods with HTTP bindings</h4>
<td></td>
</tr>

<tr>
<td>DeleteSigningRecords</td>
<td>DELETE</td>
<td>/certificate-authority/api/v1/signing/records</td>
<td></td>
</tr>


</tbody>
</table>
Expand Down Expand Up @@ -467,7 +495,7 @@ <h3 id="certificateauthority.pb.CredentialStatus">CredentialStatus</h3>
<td>serial</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>Serial number of the last certificat issued
<td><p>Serial number of the last certificate issued

@gotags: bson:&#34;serial&#34; </p></td>
</tr>
Expand Down
128 changes: 70 additions & 58 deletions certificate-authority/pb/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 36e6847

Please sign in to comment.