You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to specify the method to compute the key identifier over the public key. The method specified in RFC 5280 (https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.2) cannot be used here, due to the possible different encoded subjectPublicKey.
For the EC public keys (Weierstraß, EdDSA, X25519/X448), the subjectPublicKeyare of the same in X509 and C509. But at least for RSA, it is different.
The text was updated successfully, but these errors were encountered:
xipki
changed the title
Need the method to compute the Subject Key Identifier
Missing the method to compute the Subject Key Identifier in Native C509 Certificate
Apr 22, 2024
"In natively signed certificates, KeyIdentifier SHOULD be composed of the leftmost 160-bits of the SHA-256 hash of the CBOR encoded subjectPublicKey. Other methods of generating unique numbers can be used."
We need to specify the method to compute the key identifier over the public key. The method specified in RFC 5280 (https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.2) cannot be used here, due to the possible different encoded
subjectPublicKey
.For the EC public keys (Weierstraß, EdDSA, X25519/X448), the
subjectPublicKey
are of the same in X509 and C509. But at least for RSA, it is different.The text was updated successfully, but these errors were encountered: