Skip to content

Commit b6dae4e

Browse files
committed
public_key: Adjust macros and records in public include and doc
In addition to PR-9865. Documented standards should be supported in der_encode/decode although not all records are documented in other ways than part of ASN1-specs. This can be improved later.
1 parent d9454db commit b6dae4e

File tree

8 files changed

+433
-103
lines changed

8 files changed

+433
-103
lines changed

lib/public_key/doc/guides/public_key_records.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ specifications and RFC 5280 are as follows:
599599
version, % atom(),
600600
subject, % {rdnSequence, [#AttributeTypeAndValue'{}]} ,
601601
subjectPKInfo, % #'CertificationRequestInfo_subjectPKInfo'{},
602-
attributes % [#'AttributePKCS-10' {}]
602+
attributes % [#'Attribute' {}]
603603
}.
604604

605605
#'CertificationRequestInfo_subjectPKInfo'{
@@ -617,7 +617,7 @@ specifications and RFC 5280 are as follows:
617617
parameters % der_encoded()
618618
}.
619619

620-
#'AttributePKCS-10'{
620+
#'Attribute'{
621621
type, % oid(),
622622
values % [der_encoded()]
623623
}.

lib/public_key/doc/public_key_app.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ that reads files.
4545
- Supports
4646
[PKCS-3 ](https://web.archive.org/web/20170417091930/https://www.emc.com/emc-plus/rsa-labs/standards-initiatives/pkcs-3-diffie-hellman-key-agreement-standar.htm)\-
4747
Diffie-Hellman Key Agreement Standard
48-
- Supports [PKCS-5](http://www.ietf.org/rfc/rfc2898.txt) \- Password-Based
49-
Cryptography Standard
50-
- Supports [AES ](http://www.ietf.org/rfc/fc3565.txt)\- Use of the Advanced
51-
Encryption Standard (AES) Algorithm in Cryptographic Message Syntax (CMS)
48+
- Supports Cryptographic Message Syntax (CMS) (http://www.ietf.org/rfc/rfc5652.txt) including Password-Based Encryption with original [PKCS-5](http://www.ietf.org/rfc/rfc2898.txt) support,
49+
but currently excluding offical support for most of section 10-12 (if proven useful, especially Attribute Certificates v2, it might be added later).
5250
- Supports [PKCS-8](http://www.ietf.org/rfc/rfc5208.txt) \- Private-Key
5351
Information Syntax Standard
5452
- Supports [PKCS-10](http://www.ietf.org/rfc/rfc5967.txt) \- Certification

0 commit comments

Comments
 (0)