pike.git / lib / modules / Standards.pmod / X509.pmod

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:384:    //! Algorithm Identifier.    void `algorithm=(Sequence a)    {    low_set(1, a);    }    Sequence `algorithm()    {    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)    {    low_set(2, i);    }    Sequence `issuer()    {    return low_get_sequence(2);    }