Lines Matching full:schema
9 post-1995, revision (X.680) introduced some changes to the schema
14 As for ASN.1 schema language, pyasn1 package does
42 comprise a *schema* describing data structures of unbounded complexity.
60 ASN.1 schema can be "instantiated" by essentially putting some concrete value
61 into the type container. Such instantiated schema object can still be
62 used as a schema, but additionally it can play a role of a value in the
78 To tell instantiated schema object from just a schema, the *.isValue*
83 schema = RSAPublicKey()
85 # non-instantiated schema
86 assert schema.isValue == False
90 # partially instantiated schema
91 assert schema['modulus'].isValue == True
92 assert schema.isValue == False
96 # fully instantiated schema
97 assert schema.isValue == True
102 for *.clone()* is to instantiate a schema.
169 Common use-case for pyasn1 is to instantiate ASN.1 schema with
170 user-supplied values and pass instantiated schema to the encoder.
182 Alternatively, value and schema can be passed separately:
187 schema = Integer()
189 serialised = encode(value, asn1Spec=schema)
193 schema describing the layout of the data structures. The outcome
194 would be an instance of ASN.1 schema filled with values as supplied
200 schema = Integer()
202 value, _ = decode(serialised, asn1Spec=schema)
220 Operations on PyASN1 schema and value objects might cause errors. These