Branch: Tag:

2014-02-09

2014-02-09 18:53:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509.TBSCertificate: Added some more entries.

Adds direct access to validity and keyinfo.

365:   }      //! Represents a TBSCertificate. + //! + //! @note + //! Was not compatible with @[Standards.ASN1.Types.Sequence] + //! Prior to Pike 8.0.   class TBSCertificate   {    inherit Sequence;
456:    }       //! +  void `validity=(Sequence v) +  { +  // FIXME: Validate? +  low_set(3, v); +  } +  Sequence `validity() +  { +  return low_get(3); +  } +  +  //!    void `not_before=(int t)    {    Sequence validity = low_get(3);
494:    protected Verifier internal_public_key;       //! +  void `keyinfo=(Sequence ki) +  { +  internal_public_key = make_verifier(ki); +  low_set(5, ki); +  } +  Sequence `keyinfo() +  { +  return low_get(5); +  } +  +  //!    void `public_key=(Verifier v)    {    internal_public_key = v;