Lines Matching defs:in

12  * \phpseclib3\File\ASN1 decodes and encodes DER formatted messages and places them in a semantic context.
257 // Length, as discussed in paragraph 8.1.3 of X.690-0207.pdf#page=13
292 built-in types. It defines an application-independent data type that must be distinguishable from all other
296 alternatives of a CHOICE, or universally tagged set members. Only the class number appears in braces for this
369 // the number of unused bits in the final subsequent octet. The number shall be in the range zero to
462 Per that, we're not going to do any validation. If there are any illegal characters in the string,
470 // The Teletex character set in CCITT's T61, space, and delete
473 // The Videotex character set in CCITT's T.100 and T.101, space, and delete
650 // the main diff between sets and sequences is the encapsulation of the foreach in another for loop
736 // in theory, doing isset($mapping['implicit']) would work but malformed certs do exist
737 // in the wild that OpenSSL decodes without issue so we'll support them as well
749 "When a "NamedBitList" is used in defining a bitstring type ASN.1 encoding rules are free to add (or remove)
751 therefore ensure that different semantics are not associated with such values which differ only in the number of trailing
874 case self::TYPE_SET: // Children order is not important, thus process in sequence.
890 /* "The encodings of the component values of a set-of value shall appear in ascending order, the encodings being compared
892 NOTE - The padding octets are for comparison purposes only and do not appear in the encodings."
1050 the number of unused bits in the final subsequent octet. The number shall be in the range zero to seven.
1250 * Called by _decode_ber() and in the case of implicit tags asn1map().
1339 * @param string $in
1344 public static function convert($in, $from = self::TYPE_UTF8_STRING, $to = self::TYPE_UTF8_STRING)
1352 $inlength = strlen($in);
1361 $c = ord($in[$i++]);
1364 $c = ($c << 8) | ord($in[$i++]);
1365 $c = ($c << 8) | ord($in[$i++]);
1368 $c = ($c << 8) | ord($in[$i++]);
1379 if ($bit > 25 || $i >= $inlength || (ord($in[$i]) & 0xC0) != 0x80) {
1382 $c = ($c << 6) | (ord($in[$i++]) & 0x3F);
1449 /* X.509 certs are assumed to be base64 encoded but sometimes they'll have additional things in them
1494 * What's returned in the associative array returned by loadX509() (or load*()) is either a name or an OID if
1495 * no OID to name mapping is available. The problem with this is that what may be an unmapped OID in one version
1496 * of phpseclib may not be unmapped in the next version, so apps that are looking at this OID may not be able