Branch: Tag:

2015-07-15

2015-07-15 09:40:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509.TBSCertificate: Added `hash().

This makes it much easier to get the hash algoritm from a TBS.

391:    return low_get_sequence(1);    }    +  //! Algorithm hash if known and supported. +  //! Otherwise @[UNDEFINED]. +  Crypto.Hash `hash() +  { +  Sequence a = low_get_sequence(1); +  if (sizeof(a) < 1) return UNDEFINED; +  return algorithms[a[0]]; +  } +     //! Certificate issuer.    void `issuer=(Sequence i)    {