Lines Matching refs:special

530      * @param array $special
534 public static function asn1map($decoded, $mapping, $special = []) argument
553 … return [$inmap => self::asn1map($decoded, ['type' => $intype] + $mapping, $special)];
561 $value = self::asn1map($decoded, $option, $special);
564 $v = self::asn1map($decoded, $option, $special);
570 if (isset($special[$key])) {
571 $value = $special[$key]($value);
605 if (($map[] = self::asn1map($content, $child, $special)) === null) {
648 $candidate = self::asn1map($temp, $child, $special);
654 if (isset($special[$key])) {
655 $candidate = $special[$key]($candidate);
677 if (($map[] = self::asn1map($content, $child, $special)) === null) {
719 $candidate = self::asn1map($temp, $child, $special);
728 if (isset($special[$key])) {
729 $candidate = $special[$key]($candidate);
855 * @param array $special
859 public static function encodeDER($source, $mapping, $special = []) argument
862 return self::encode_der($source, $mapping, null, $special);
871 * @param array $special
875 private static function encode_der($source, $mapping, $idx = null, $special = []) argument
887 if (isset($special[$idx])) {
888 $source = $special[$idx]($source);
906 $temp = self::encode_der($content, $child, null, $special);
933 $temp = self::encode_der($source[$key], $child, $key, $special);
974 $temp = self::encode_der($source[$key], $child, $key, $special);
1088 … return self::encode_der(null, ['type' => self::TYPE_NULL] + $mapping, null, $special);
1091 … return self::encode_der($source, ['type' => self::TYPE_INTEGER] + $mapping, null, $special);
1093 … return self::encode_der($source, ['type' => self::TYPE_REAL] + $mapping, null, $special);
1095 … return self::encode_der($source, ['type' => self::TYPE_BOOLEAN] + $mapping, null, $special);
1100 … return self::encode_der($source[$typename], ['type' => $outtype] + $mapping, null, $special);
1115 return self::encode_der($source, $filters + $mapping, null, $special);