SAP ABAP Class CL_ASN1_PARSER (ASN.1 Parser (for internal use only))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-SSF (Application Component) Secure Store and Forward
⤷
SECF (Package) Secure Store & Forward (SSF) Support
⤷
⤷
Properties
| Class | CL_ASN1_PARSER | |
| Short Description | ASN.1 Parser (for internal use only) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SECF | Secure Store & Forward (SSF) Support |
| Created | 20120508 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_ASN1_PARSER has no interface implemented.
Friends
Class CL_ASN1_PARSER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | TY_OCTET | '1F' | 20120508 | |||
| 2 | Constant | Protected | Type reference (TYPE) | TY_OCTET | '7F' | 20120508 | |||
| 3 | Constant | Protected | Type reference (TYPE) | TY_OCTET | '80' | 20120508 | |||
| 4 | Constant | Public | Type reference (TYPE) | I | 1 | 20120508 | |||
| 5 | Constant | Public | Type reference (TYPE) | I | 2 | 20120508 | |||
| 6 | Constant | Public | Type reference (TYPE) | I | 4 | 20120508 | |||
| 7 | Constant | Public | Type reference (TYPE) | I | 0 | 20120508 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | I | 0 | 20120612 | |||
| 9 | Constant | Public | Type reference (TYPE) | I | 16 | 20120508 | |||
| 10 | Constant | Public | Type reference (TYPE) | I | 17 | 20120508 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | XSTRING | 20120508 | ||||
| 12 | Instance attribute | Protected | Type reference (TYPE) | I | 20120508 | ||||
| 13 | Instance attribute | Protected | Type reference (TYPE) | I | Depth | 20130314 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | I | 20130314 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | I | 20120508 | ||||
| 16 | Instance attribute | Protected | Type reference (TYPE) | I | 20120508 | ||||
| 17 | Instance attribute | Protected | Type reference (TYPE) | I | 20120508 | ||||
| 18 | Instance attribute | Protected | Type reference (TYPE) | I | 20120508 | ||||
| 19 | Instance attribute | Protected | Type reference (TYPE) | I | 20120508 | ||||
| 20 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ASN1_PARSER | ASN.1 Parser (for internal use only) | 20130305 | |||
| 21 | Instance attribute | Protected | Type reference (TYPE) | TT_VALUE_CONSTRUCTED | Buffer of constructed value | 20120521 |
Methods
Events
Class CL_ASN1_PARSER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_STRING | Public | See coding | 20120508 | tt_string TYPE STANDARD TABLE OF string WITH NON-UNIQUE DEFAULT KEY
|
||
| 2 | TT_VALUE_CONSTRUCTED | Public | See coding | 20120508 | tt_value_constructed TYPE STANDARD TABLE OF REF TO cl_asn1_parser WITH NON-UNIQUE DEFAULT KEY
|
||
| 3 | TY_OCTET | Protected | See coding | 20120508 | ty_octet TYPE x LENGTH 1
|
||
| 4 | TY_TAG_INFO | Public | See coding | 20130315 | BEGIN OF: ty_tag_info,
offset TYPE i,
header_length TYPE i,
content_length TYPE i,
depth TYPE i,
END OF: ty_tag_info
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_BLOB | Call by reference | Type reference (TYPE) | XSTRING | 20120508 | ||||
| 2 | IF_DEPTH | Call by reference | Type reference (TYPE) | I | 0 | 20130318 | |||
| 3 | IF_LENGTH | Value transfer | Type reference (TYPE) | I | 0 | 20120508 | |||
| 4 | IF_OFFSET | Value transfer | Type reference (TYPE) | I | 0 | 20120508 | |||
| 5 | IF_SLOPPY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Sloppy parsing of constructed value | 20130319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120508 |
Method GET_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DESCRIPTION | Call by reference | Type reference (TYPE) | TT_STRING | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120521 | ||
| 2 | System Exception Involving Conversion Errors | 20120521 |
Method GET_DISTINGUISHED_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_CONVFLAGS | Call by reference | Type reference (TYPE) | I | 0 | 20120508 | |||
| 2 | IF_FORMAT | Call by reference | Type reference (TYPE) | I | CL_ABAP_X509_CERTIFICATE=>CO_FORMAT_UNICODE | 20120508 | |||
| 3 | RF_DN | Value transfer | Type reference (TYPE) | STRING | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions when analyzing an X.509 certificate | 20120508 | ||
| 2 | Exceptions of ASN.1 Parser | 20120508 | ||
| 3 | System Exception Involving Conversion Errors | 20120521 |
Method GET_FROM_SEQUENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_INDEX | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 2 | RO_ELEMENT | Value transfer | Object reference (TYPE REF TO) | CL_ASN1_PARSER | ASN.1 | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120508 |
Method GET_FROM_SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_TAG_CLASS | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 2 | IF_TAG_NUMBER | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 3 | RO_ELEMENT | Value transfer | Object reference (TYPE REF TO) | CL_ASN1_PARSER | ASN.1 | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120508 |
Method GET_TAG_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_TAG_CLASS | Value transfer | Type reference (TYPE) | I | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120521 |
Method GET_TAG_CONSTRUCTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_TAG_CONSTRUCTED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120508 |
Method GET_TAG_CONSTRUCTED on class CL_ASN1_PARSER has no exception.
Method GET_TAG_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_TAG_INFO | Value transfer | Type reference (TYPE) | TY_TAG_INFO | 20130315 |
Method GET_TAG_INFO on class CL_ASN1_PARSER has no exception.
Method GET_TAG_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_TAG_NUMBER | Value transfer | Type reference (TYPE) | I | 20120508 |
Method GET_TAG_NUMBER on class CL_ASN1_PARSER has no exception.
Method GET_TOTAL_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_TOTAL_LENGTH | Value transfer | Type reference (TYPE) | I | 20120508 |
Method GET_TOTAL_LENGTH on class CL_ASN1_PARSER has no exception.
Method GET_VALUE_CONSTRUCTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_SLOPPY | Call by reference | Object reference (TYPE REF TO) | CX_ASN1_PARSER | Exceptions of ASN.1 Parser | 20130319 | |||
| 2 | IF_INDEFINITE_LENGTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120612 | |||
| 3 | IF_SLOPPY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130319 | |||
| 4 | RT_VALUE_CONSTRUCTED | Value transfer | Type reference (TYPE) | TT_VALUE_CONSTRUCTED | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120521 |
Method GET_VALUE_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_VALUE_LENGTH | Value transfer | Type reference (TYPE) | I | 20120508 |
Method GET_VALUE_LENGTH on class CL_ASN1_PARSER has no exception.
Method GET_VALUE_PRIMITIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_VALUE_PRIMITIVE | Value transfer | Type reference (TYPE) | XSTRING | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120521 |
Method GET_VALUE_PRIMITIVE_AS_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_VALUE_PRIMITIVE | Value transfer | Type reference (TYPE) | STRING | 20120510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120521 | ||
| 2 | System Exception Involving Conversion Errors | 20120521 |
Method NEXT_TAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_ASN1_PARSER | Value transfer | Object reference (TYPE REF TO) | CL_ASN1_PARSER | ASN.1 Parser (for internal use only) | 20130315 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20130315 |
Method OID_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_OID | Call by reference | Type reference (TYPE) | STRING | 20120508 | ||||
| 2 | RF_STRING | Value transfer | Type reference (TYPE) | STRING | 20120508 |
Method OID_TO_STRING on class CL_ASN1_PARSER has no exception.
Method READ_NEXT_OCTET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_OCTET | Value transfer | Type reference (TYPE) | TY_OCTET | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120508 |
Method TAG_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_TAG_CLASS | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 2 | IF_TAG_NUMBER | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 3 | RF_TAG_STRING | Value transfer | Type reference (TYPE) | STRING | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120508 |
Method VALUE_TO_BOOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_VALUE | Call by reference | Type reference (TYPE) | XSTRING | 20120508 | ||||
| 2 | RF_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120508 |
Method VALUE_TO_OID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_VALUE | Call by reference | Type reference (TYPE) | XSTRING | 20120508 | ||||
| 2 | RF_OID | Value transfer | Type reference (TYPE) | STRING | 20120508 |
Method VALUE_TO_OID on class CL_ASN1_PARSER has no exception.
Method VALUE_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_TAG_CLASS | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 2 | IF_TAG_NUMBER | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 3 | IF_VALUE | Call by reference | Type reference (TYPE) | XSTRING | 20120508 | ||||
| 4 | RF_STRING | Value transfer | Type reference (TYPE) | STRING | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of ASN.1 Parser | 20120521 | ||
| 2 | System Exception Involving Conversion Errors | 20120521 |
Method XSTRING_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCOD | 'UTF-8' | Identifier for Character Format (UTF-8, UCS-2, ...) | 20120508 | ||
| 2 | IF_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20120508 | ||||
| 3 | RF_STRING | Value transfer | Type reference (TYPE) | STRING | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exception Converting Character Set | 20120521 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 732 |