Searched refs:encodeLength (Results 1 – 3 of 3) sorted by relevance
139 … $expected = chr(ASN1::TYPE_OCTET_STRING) . ASN1::encodeLength($components['curve']::SIZE);173 … $expected = chr(ASN1::TYPE_OCTET_STRING) . ASN1::encodeLength($components['curve']::SIZE);260 …chr(ASN1::TYPE_OCTET_STRING) . ASN1::encodeLength($curve::SIZE) . str_pad($privateKey->toBytes(), …270 chr(ASN1::TYPE_OCTET_STRING) . ASN1::encodeLength($curve::SIZE) . $secret,
953 $temp = $subtag . self::encodeLength(strlen($temp)) . $temp;987 $temp = $subtag . self::encodeLength(strlen($temp)) . $temp;1141 $value = chr($tag) . self::encodeLength(strlen($value)) . $value;1148 return chr($tag) . self::encodeLength(strlen($value)) . $value;1501 public static function encodeLength($length) function in phpseclib3\\File\\ASN1
3066 $temp = chr(ASN1::TYPE_GENERALIZED_TIME) . ASN1::encodeLength(strlen($temp)) . $temp;