PKI/ASN.1

ASN.1 Type Notation (2/3)

JayKim๐Ÿ™‚ 2022. 11. 2. 18:28

 - Tag
  * ๋ชจ๋“  Type ์€ Tag ๊ฐ’์„ ๊ฐ€์ง„๋‹ค
  * Tag๋Š” ์ง์ ‘ ๋˜๋Š” ๊ฐ„์ ‘์ ์œผ๋กœ Type ๊ฐ’์„ ์‹๋ณ„ ํ•จ
  * Tag๋Š” ์œ ์ผํ•œ ํ•„์š” ์—†์Œ
  * Tag ๊ตฌ์„ฑ
    - Class์™€ Tag Number๋กœ ๊ตฌ์„ฑ : [[class] tag#]
    - Class : Universal, Application, Private, Context-Specific
    - Tag Number : non-negative integer
  * Class
     - Universal
         * Built-in Types, Application independent types
         * X.208์— ์ •์˜ ๋œ Type์— ๋Œ€ํ•œ class
     - Application
         * Application specific types ( such as X.500 directory services )
     - Private
         * Defined by users and not covered by and standard
     - Context-specific
          * For types whoes meaning is specific to a structured type
          * Limited to a context within an application

  * Tag Number

type tag#(hex) type tag#(hex)
INTEGER 02 Numeric String 12
BIT STRING 03 PrintableString 13
OCTET STRING 04 T61String 14
NULL 05 Videotex String 15
OBJECT IDENTIFIER 06 IA5String 16
OBJECT DESCRIPTION 07 UTCTime 17
REAL 09 Generalized Time 18
ENUMERATED 0A Graphic String 19
EMBEDDED-PDV 0B Visible String 1A
SEQUENCE (& OF) 10 General String 1B
SET (& OF) 11 Universal String 1C
๋ฐ˜์‘ํ˜•

'PKI > ASN.1' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

ASN.1 Constraints  (0) 2022.11.03
ASN.1 Type Notation (3/3)  (0) 2022.11.03
ASN.1 Type Notation (1/3)  (0) 2022.11.02
RFC3280-PKIX1Implicit88 ASN.1  (0) 2022.11.02
RFC3280-PKIX1Explicit88 ASN.1  (0) 2022.11.02