Lines Matching refs:encoding

52 services for strings of ones and zeroes, using encoding
70 encoding to each ASN.1 value.
80 specific encoding rules, examples, and comments about their
241 String types can be viewed, for the purposes of encoding, as
246 length encoding (see Section 3).
299 For purposes of encoding, an implicitly tagged type is
329 primitive, definite-length encoding; constructed, definite-
330 length encoding; and constructed, indefinite-length
331 encoding. Simple non-string types employ the primitive,
339 In each method, the BER encoding has three or four parts:
360 The three methods of encoding are described in the following
369 BER encoding are as follows:
377 indicating that the encoding is primitive, and
387 Table 2. Class encoding in identifier octets.
422 value be known in advance. The parts of the BER encoding are
426 bit 6 has value "1," indicating that the encoding is
445 tagging, the BER encoding of the underlying value.
456 the value be known in advance. The parts of the BER encoding
468 BER encoding might be expected (e.g., in the contents octets
471 is really the primitive, definite-length encoding of a value
480 applications in which a unique octet string encoding is
519 Each description includes ASN.1 notation, BER encoding, and
520 DER encoding. The focus of the encodings is primarily on the
572 BER encoding. Primitive or constructed, depending on the
573 underlying type. Contents octets are as for the BER encoding
576 Example: The BER encoding of the attributes component of a
580 Attributes value has a primitive BER encoding and
582 constructed BER encoding
585 length and contents octets of the BER encoding of
588 DER encoding. Primitive or constructed, depending on the
589 underlying type. Contents octets are as for the DER encoding
647 BER encoding. Constructed. Contents octets are the BER
648 encoding of the underlying value.
650 Example: the BER encoding of the content component of a
656 encoding of the underlying ANY DEFINED BY
659 o contents octets are the BER encoding of the
662 DER encoding. Constructed. Contents octets are the DER
663 encoding of the underlying value.
710 BER encoding. Same as the BER encoding of the actual value.
712 Example: The BER encoding of the value of the parameter
713 component is the BER encoding of the value of the actual
717 DER encoding. Same as the DER encoding of the actual value.
743 BER encoding. Primitive or constructed. In a primitive
744 encoding, the first contents octet gives the number of bits
762 In a constructed encoding, the contents octets give the
767 Example: The BER encoding of the BIT STRING value
770 length octets, and whether the encoding is primitive or
773 03 04 06 6e 5d c0 DER encoding
779 23 09 constructed encoding: "0110111001011101" + "11"
783 DER encoding. Primitive. The contents octects are as for a
784 primitive BER encoding, except that the bit string is padded
787 Example: The DER encoding of the BIT STRING value
830 BER encoding. Same as the BER encoding of the chosen
835 Example: The identifier octets for the BER encoding are 30
839 DER encoding. Same as the DER encoding of the chosen
859 BER encoding. Primitive or constructed. In a primitive
860 encoding, the contents octets give the characters in the IA5
861 string, encoded in ASCII. In a constructed encoding, the
865 Example: The BER encoding of the IA5String value
868 encoding is primitive or constructed:
870 16 0d 74 65 73 74 31 40 72 73 61 2e 63 6f 6d DER encoding
875 36 13 constructed encoding: "test1" + "@" + "rsa.com"
880 DER encoding. Primitive. Contents octets are as for a
881 primitive BER encoding.
883 Example: The DER encoding of the IA5String value
924 BER encoding. Primitive. Contents octets give the value of
932 Integer BER encoding
943 DER encoding. Primitive. Contents octets are as for a
944 primitive BER encoding.
958 BER encoding. Primitive. Contents octets are empty.
960 Example: The BER encoding of a NULL value can be either of
968 DER encoding. Primitive. Contents octets are empty; the DER
969 encoding of a NULL value is always 05 00.
1044 BER encoding. Primitive. Contents octets are as follows,
1058 octet except the last in the value's encoding set
1061 Example: The first octet of the BER encoding of RSA Data
1063 2a16. The encoding of 840 = 6 * 128 + 4816 is 86 48 and the
1064 encoding of 113549 = 6 * 1282 + 7716 * 128 + d16 is 86 f7
1065 0d. This leads to the following BER encoding:
1069 DER encoding. Primitive. Contents octets are as for a
1070 primitive BER encoding.
1104 BER encoding. Primitive or constructed. In a primitive
1105 encoding, the contents octets give the value of the octet
1107 encoding, the contents octets give the concatenation of the
1110 Example: The BER encoding of the OCTET STRING value 01 23 45
1113 encoding is primitive or constructed:
1115 04 08 01 23 45 67 89 ab cd ef DER encoding
1119 24 0c constructed encoding: 01 ... 67 + 89 ... ef
1123 DER encoding. Primitive. Contents octets are as for a
1124 primitive BER encoding.
1126 Example: The BER encoding of the OCTET STRING value 01 23 45
1152 BER encoding. Primitive or constructed. In a primitive
1153 encoding, the contents octets give the characters in the
1155 encoding, the contents octets give the concatenation of the
1158 Example: The BER encoding of the PrintableString value "Test
1160 on the form of length octets and whether the encoding is
1163 13 0b 54 65 73 74 20 55 73 65 72 20 31 DER encoding
1168 33 0f constructed encoding: "Test " + "User 1"
1172 DER encoding. Primitive. Contents octets are as for a
1173 primitive BER encoding.
1175 Example: The DER encoding of the PrintableString value "Test
1225 BER encoding. Constructed. Contents octets are the
1233 then the encoding of that component is not
1237 qualifier is the default value, then the encoding
1241 DER encoding. Constructed. Contents octets are the same as
1242 the BER encoding, except that if the value of a component
1244 encoding of that component is not included in the contents
1267 BER encoding. Constructed. Contents octets are the
1271 DER encoding. Constructed. Contents octets are the
1307 BER encoding. Constructed. Contents octets are the
1315 encoding of that component is not included in the
1319 qualifier is the default value, then the encoding
1323 DER encoding. Constructed. Contents octets are the same as
1324 for the BER encoding, except that:
1327 qualifier is the default value, the encoding of
1357 BER encoding. Constructed. Contents octets are the
1361 DER encoding. Constructed. Contents octets are the same as
1362 for the BER encoding, except that there is an order, namely
1363 ascending lexicographic order of BER encoding. Lexicographic
1365 follows: Logically pad the shorter BER encoding after the
1368 until a difference is found. The smaller-valued BER encoding
1395 BER encoding. Primitive or constructed. In a primitive
1396 encoding, the contents octets give the characters in the
1397 T.61 string, encoded in ASCII. In a constructed encoding,
1401 Example: The BER encoding of the T61String value "cl'es
1404 octets and whether the encoding is primitive or constructed:
1406 14 0f DER encoding
1412 34 15 constructed encoding: "cl'es" + " " + "publiques"
1420 DER encoding. Primitive. Contents octets are as for a
1421 primitive BER encoding.
1423 Example: The DER encoding of the T61String value "cl'es
1478 BER encoding. Primitive or constructed. In a primitive
1479 encoding, the contents octets give the characters in the
1480 string, encoded in ASCII. In a constructed encoding, the
1483 encoding is not particularly interesting, since UTCTime
1484 values are so short, but the constructed encoding is
1503 DER encoding. Primitive. Contents octets are as for a
1504 primitive BER encoding.
1510 encoding: the X.501 type Name.
1562 6.2 DER encoding
1564 This section gives an example of a DER encoding of a value
1601 their DER encoding follows the primitive, definite-length
1613 indicating that the encoding is primitive. The length octets
1638 the universal class. Bit 6 has value "0" since the encoding
1665 universal class. Bit 6 has value "1" since the encoding is
1690 class Bit 6 has value "1" since the encoding is constructed.
1700 encoding follows the constructed, definite-length method:
1710 universal class. Bit 6 has value "1" since the encoding is
1719 The Name value is a CHOICE value, so its DER encoding is the