https://github.com/mithril-security/formats-sgx
Port formats to Teaclave Rust SGX SDK and Xargo. Important : Only pkcs1 is ported
https://github.com/mithril-security/formats-sgx
Last synced: about 1 year ago
JSON representation
Port formats to Teaclave Rust SGX SDK and Xargo. Important : Only pkcs1 is ported
- Host: GitHub
- URL: https://github.com/mithril-security/formats-sgx
- Owner: mithril-security
- Created: 2021-11-16T15:52:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-14T04:44:26.000Z (almost 3 years ago)
- Last Synced: 2025-02-07T09:27:45.951Z (over 1 year ago)
- Language: Rust
- Size: 4.4 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RustCrypto: Formats [![Project Chat][chat-image]][chat-link] [![dependency status][deps-image]][deps-link]
Cryptography-related format encoders/decoders: PKCS, PKIX.
## Crates
| Name | crates.io | Docs | Description |
|------|-----------|------|--------------|
| `base64ct` | [](https://crates.io/crates/base64ct) | [](https://docs.rs/base64ct) | Constant-time encoder and decoder of several Base64 variants |
| `const‑oid` | [](https://crates.io/crates/const-oid) | [](https://docs.rs/const-oid) | Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard as defined in [ITU X.660] |
| `der` | [](https://crates.io/crates/der) | [](https://docs.rs/der) | Decoder and encoder of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in [ITU X.690] |
| `pem‑rfc7468` | [](https://crates.io/crates/pem-rfc7468) | [](https://docs.rs/pem-rfc7468) | Strict PEM encoding for PKIX/PKCS/CMS objects |
| `pkcs1` | [](https://crates.io/crates/pkcs1) | [](https://docs.rs/pkcs1) | Implementation of PKCS#1: RSA Cryptography Specifications Version 2.2 ([RFC 8017]) |
| `pkcs5` | [](https://crates.io/crates/pkcs5) | [](https://docs.rs/pkcs5) | Implementation of PKCS#5: Password-Based Cryptography Specification Version 2.1 ([RFC 8018]) |
| `pkcs7` | [](https://crates.io/crates/pkcs7) | [](https://docs.rs/pkcs7) | Implementation of PKCS#7: Cryptographic Message Syntax v1.5 ([RFC 5652] and [RFC 8933]) |
| `pkcs8` | [](https://crates.io/crates/pkcs8) | [](https://docs.rs/pkcs8) | Implementation of PKCS#8(v2): Private-Key Information Syntax Specification ([RFC 5208]) and asymmetric key packages ([RFC 5958]) |
| `sec1` | [](https://crates.io/crates/sec1) | [](https://docs.rs/sec1) | [SEC1: Elliptic Curve Cryptography] encoding formats |
| `spki` | [](https://crates.io/crates/spki) | [](https://docs.rs/spki) | X.509 Subject Public Key Info ([RFC 5280 Section 4.1]) describing public keys as well as their associated AlgorithmIdentifiers (i.e. OIDs) |
| `tai64` | [](https://crates.io/crates/tai64) | [](https://docs.rs/tai64) | TAI64(N) Timestamps |
| `x509` | [](https://crates.io/crates/x509) | [](https://docs.rs/x509) | Implementation of the X.509 Public Key Infrastructure Certificate format as described in [RFC 5280] |
## License
All crates licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
[//]: # (badges)
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/300570-formats
[deps-image]: https://deps.rs/repo/github/RustCrypto/formats/status.svg
[deps-link]: https://deps.rs/repo/github/RustCrypto/formats
[//]: # (links)
[ITU X.660]: https://www.itu.int/rec/T-REC-X.660
[ITU X.690]: https://www.itu.int/rec/T-REC-X.690
[RFC 5208]: https://datatracker.ietf.org/doc/html/rfc5208
[RFC 5280 Section 4.1]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1
[RFC 5280]: https://datatracker.ietf.org/doc/html/rfc5280
[RFC 5652]: https://datatracker.ietf.org/doc/html/rfc5652
[RFC 5958]: https://datatracker.ietf.org/doc/html/rfc5958
[RFC 8017]: https://datatracker.ietf.org/doc/html/rfc8017
[RFC 8018]: https://datatracker.ietf.org/doc/html/rfc8018
[RFC 8933]: https://datatracker.ietf.org/doc/html/rfc8933
[SEC1: Elliptic Curve Cryptography]: https://www.secg.org/sec1-v2.pdf