Thursday, 19 April 2018

ASN.1: IA5String: Represent International Alphabet 5

Type: IA5String

Description: It is an arbitrary string of IA5 (ASCII) characters. IA5 stands for International Alphabet 5.  

Example
email IA5String

Example Schema
Person ::= SEQUENCE {
    name VisibleString,
    id VisibleString,
    email IA5String
}

Sample data for above schema
person Person ::= {
    name "Rama Krishna",
    id "I123456",
    email "krishna@krishna.com"
}

XML encoding of above data
<?xml version="1.0" encoding="UTF-8"?>
<Person>
  <name>Rama Krishna</name>
  <id>I123456</id>
  <email>krishna@krishna.com</email>
</Person>





Previous                                                 Next                                                 Home

No comments:

Post a Comment