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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ABAP_X509_CERTIFICATE 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 CO_OCTET_00011111 Constant Protected Type reference (TYPE) TY_OCTET '1F' 20120508
2 CO_OCTET_01111111 Constant Protected Type reference (TYPE) TY_OCTET '7F' 20120508
3 CO_OCTET_10000000 Constant Protected Type reference (TYPE) TY_OCTET '80' 20120508
4 CO_TAG_CLASS_APPLICATION Constant Public Type reference (TYPE) I 1 20120508
5 CO_TAG_CLASS_CONTEXT_SPECIFIC Constant Public Type reference (TYPE) I 2 20120508
6 CO_TAG_CLASS_PRIVATE Constant Public Type reference (TYPE) I 4 20120508
7 CO_TAG_CLASS_UNIVERSAL Constant Public Type reference (TYPE) I 0 20120508
8 CO_TAG_NUMBER_EOC Instance attribute Public Type reference (TYPE) I 0 20120612
9 CO_TAG_NUMBER_SEQUENCE Constant Public Type reference (TYPE) I 16 20120508
10 CO_TAG_NUMBER_SET Constant Public Type reference (TYPE) I 17 20120508
11 MF_BLOB Instance attribute Protected Type reference (TYPE) XSTRING 20120508
12 MF_BLOB_LENGTH Instance attribute Protected Type reference (TYPE) I 20120508
13 MF_DEPTH Instance attribute Protected Type reference (TYPE) I Depth 20130314
14 MF_INDEX_PARSE Instance attribute Protected Type reference (TYPE) I 20130314
15 MF_INDEX_READ Instance attribute Private Type reference (TYPE) I 20120508
16 MF_OFFSET_LENGTH Instance attribute Protected Type reference (TYPE) I 20120508
17 MF_OFFSET_TAG Instance attribute Protected Type reference (TYPE) I 20120508
18 MF_OFFSET_VALUE Instance attribute Protected Type reference (TYPE) I 20120508
19 MF_VALUE_LENGTH Instance attribute Protected Type reference (TYPE) I 20120508
20 MR_PARENT Instance attribute Protected Object reference (TYPE REF TO) CL_ASN1_PARSER ASN.1 Parser (for internal use only) 20130305
21 MT_VALUE_CONSTRUCTED Instance attribute Protected Type reference (TYPE) TT_VALUE_CONSTRUCTED Buffer of constructed value 20120521
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20120508
2 GET_DESCRIPTION Instance method Public Method 20120508
3 GET_DISTINGUISHED_NAME Instance method Public Method 20120508
4 GET_FROM_SEQUENCE Instance method Public Method 20120508
5 GET_FROM_SET Instance method Public Method 20120508
6 GET_TAG_CLASS Instance method Public Method 20120508
7 GET_TAG_CONSTRUCTED Instance method Public Method 20120508
8 GET_TAG_INFO Instance method Public Method 20130315
9 GET_TAG_NUMBER Instance method Public Method 20120508
10 GET_TOTAL_LENGTH Instance method Public Method 20120508
11 GET_VALUE_CONSTRUCTED Instance method Public Method 20120508
12 GET_VALUE_LENGTH Instance method Public Method 20120508
13 GET_VALUE_PRIMITIVE Instance method Public Method 20120508
14 GET_VALUE_PRIMITIVE_AS_STRING Instance method Public Method 20120510
15 NEXT_TAG Instance method Public Method 20130315
16 OID_TO_STRING Static method Public Method 20120508
17 READ_NEXT_OCTET Instance method Private Method 20120508
18 TAG_TO_STRING Static method Public Method 20120508
19 VALUE_TO_BOOL Static method Public Method 20120508
20 VALUE_TO_OID Static method Public Method 20120508
21 VALUE_TO_STRING Static method Public Method 20120508
22 XSTRING_TO_STRING Static method Protected Method 20120508
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 Importing IF_BLOB Call by reference Type reference (TYPE) XSTRING 20120508
2 Importing IF_DEPTH Call by reference Type reference (TYPE) I 0 20130318
3 Importing IF_LENGTH Value transfer Type reference (TYPE) I 0 20120508
4 Importing IF_OFFSET Value transfer Type reference (TYPE) I 0 20120508
5 Importing IF_SLOPPY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Sloppy parsing of constructed value 20130319
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 20120508

Method GET_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DESCRIPTION Call by reference Type reference (TYPE) TT_STRING 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER Exceptions of ASN.1 Parser 20120521
2 CX_SY_CONVERSION_ERROR 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 Importing IF_CONVFLAGS Call by reference Type reference (TYPE) I 0 20120508
2 Importing IF_FORMAT Call by reference Type reference (TYPE) I CL_ABAP_X509_CERTIFICATE=>CO_FORMAT_UNICODE 20120508
3 Returning RF_DN Value transfer Type reference (TYPE) STRING 20120508
# Exception Resumable Description Created on
1 CX_ABAP_X509_CERTIFICATE Exceptions when analyzing an X.509 certificate 20120508
2 CX_ASN1_PARSER Exceptions of ASN.1 Parser 20120508
3 CX_SY_CONVERSION_ERROR 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 Importing IF_INDEX Call by reference Type reference (TYPE) I 20120508
2 Returning RO_ELEMENT Value transfer Object reference (TYPE REF TO) CL_ASN1_PARSER ASN.1 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Importing IF_TAG_CLASS Call by reference Type reference (TYPE) I 20120508
2 Importing IF_TAG_NUMBER Call by reference Type reference (TYPE) I 20120508
3 Returning RO_ELEMENT Value transfer Object reference (TYPE REF TO) CL_ASN1_PARSER ASN.1 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Returning RF_TAG_CLASS Value transfer Type reference (TYPE) I 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Returning 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 Returning 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 Returning 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 Returning 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 Exporting EX_SLOPPY Call by reference Object reference (TYPE REF TO) CX_ASN1_PARSER Exceptions of ASN.1 Parser 20130319
2 Importing IF_INDEFINITE_LENGTH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120612
3 Importing IF_SLOPPY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130319
4 Returning RT_VALUE_CONSTRUCTED Value transfer Type reference (TYPE) TT_VALUE_CONSTRUCTED 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Returning 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 Returning RF_VALUE_PRIMITIVE Value transfer Type reference (TYPE) XSTRING 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Returning RF_VALUE_PRIMITIVE Value transfer Type reference (TYPE) STRING 20120510
# Exception Resumable Description Created on
1 CX_ASN1_PARSER Exceptions of ASN.1 Parser 20120521
2 CX_SY_CONVERSION_ERROR 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 Returning 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 CX_ASN1_PARSER 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 Importing IF_OID Call by reference Type reference (TYPE) STRING 20120508
2 Returning 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 Returning RF_OCTET Value transfer Type reference (TYPE) TY_OCTET 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Importing IF_TAG_CLASS Call by reference Type reference (TYPE) I 20120508
2 Importing IF_TAG_NUMBER Call by reference Type reference (TYPE) I 20120508
3 Returning RF_TAG_STRING Value transfer Type reference (TYPE) STRING 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Importing IF_VALUE Call by reference Type reference (TYPE) XSTRING 20120508
2 Returning RF_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER 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 Importing IF_VALUE Call by reference Type reference (TYPE) XSTRING 20120508
2 Returning 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 Importing IF_TAG_CLASS Call by reference Type reference (TYPE) I 20120508
2 Importing IF_TAG_NUMBER Call by reference Type reference (TYPE) I 20120508
3 Importing IF_VALUE Call by reference Type reference (TYPE) XSTRING 20120508
4 Returning RF_STRING Value transfer Type reference (TYPE) STRING 20120508
# Exception Resumable Description Created on
1 CX_ASN1_PARSER Exceptions of ASN.1 Parser 20120521
2 CX_SY_CONVERSION_ERROR 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 Importing IF_ENCODING Call by reference Type reference (TYPE) ABAP_ENCOD 'UTF-8' Identifier for Character Format (UTF-8, UCS-2, ...) 20120508
2 Importing IF_XSTRING Call by reference Type reference (TYPE) XSTRING 20120508
3 Returning RF_STRING Value transfer Type reference (TYPE) STRING 20120508
# Exception Resumable Description Created on
1 CX_SY_CONVERSION_ERROR System Exception Converting Character Set 20120521
History
Last changed by/on SAP  20140121 
SAP Release Created in 732