This page (revision-1) was last changed on 29-Nov-2024 16:16 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 18 lines
!!! Overview
The [{$pagename}] ([SubjectPublicKeyInfo]) field carries the [Public Key] component of its associated subject, as well as an indication of the [algorithm], and any algorithm parameters, with which the public component is to be used.Some of the [{$pagename}] parameters:
* [Public Key Algorithm]
* [RSA Public Key]
* [Certificate Modulus]
* [Certificate Exponent]
!! [X.509 Style Guide]
This contains the [Public Key], either a SEQUENCE of values or a single INTEGER.
Keep in mind that [ASN.1] [integers] are [Signed int], so if any integers you want to encode have the high bit set you need to add a single zero octet to the start of the encoded value to ensure that the high bit isn't mistaken for a sign bit.
In addition you are allowed at most a single 0 byte at the start of an encoded value (and that only when the high bit is set), if the internal representation you use contains zero bytes at the start you have to remove them on encoding.
This is a bit of a nuisance when encoding signatures which have [INTEGER] values, since you can't tell how big the encoded signature will be without actually generating it.!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]
----
* [#1] - [4.1.1.7 Subject Public Key Info|https://tools.ietf.org/html/rfc5280#section-4.1.1.7|target='_blank'] - based on information obtained 2018-07-19