Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rfc3280 AttributeObjId list is not exhaustive #7

Open
Vanuan opened this issue Aug 12, 2014 · 0 comments
Open

rfc3280 AttributeObjId list is not exhaustive #7

Vanuan opened this issue Aug 12, 2014 · 0 comments

Comments

@Vanuan
Copy link
Contributor

Vanuan commented Aug 12, 2014

lib/spec/rfc3280.js contains a list of attributes OIDs. But there are other OIDs that are not present in this list, but are being used in SignerInfo. For example, authenticatedAttributes can be those:

signingCertificateV2 1.2.840.113549.1.9.16.2.47
contentType 1.2.840.113549.1.9.3
messageDigest 1.2.840.113549.1.9.4
signingTime 1.2.840.113549.1.9.5

http://tools.ietf.org/html/rfc5035#page-4

SigningCertificateV2 ::=  SEQUENCE {
    certs        SEQUENCE OF ESSCertIDv2,
    policies     SEQUENCE OF PolicyInformation OPTIONAL
}

http://tools.ietf.org/html/rfc2985#page-12

ContentType ::= OBJECT IDENTIFIER

http://tools.ietf.org/html/rfc2985#page-13

MessageDigest ::= OCTET STRING

SigningTime ::= Time -- imported from ISO/IEC 9594-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant