[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hash values in OCSP
I request your help in the following issues regarding RFC 2560:
1. The IssuerNameHash has to be calculated using the DER encoding of the
issuer's name field EXACTLY as it appears in the target certificate (the one
being checked with OCSP)? Or is there a standard regarding the order of the
SETs in the RDN components?
2. The IssuerKeyHash value must be calculated excluding tag and length of
the DER encoding
of the subject public key field in the issuer's certificate. Since it is
encoded as a BIT STRING, are we required to include the first contents octet
(AKA the number of unused bits) in the input to the hash function?
Thanks, best regards,
Miguel A. Rodriguez
Software Engineer
SeguriDATA
Mexico