SAP ABAP Class CL_SECXML_HELPER (Helper for XML Security Tests)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SXML_SEC (Package) Security Tools for Streamed XML Reader / Writer
Properties
Class CL_SECXML_HELPER  
Short Description Helper for XML Security Tests    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package SXML_SEC   Security Tools for Streamed XML Reader / Writer 
Created 20060731   SAP 
Last change 20130531   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 IF_SXML_NAMED Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 WSSEC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SECXML_HELPER has no interface implemented.
Friends
Class CL_SECXML_HELPER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 M_DOCKING_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_DOCKING_CONTAINER Docking Control Container 20060731
2 M_HTML_VIEWER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_HTML_VIEWER HTML Viewer 20060731
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_TEMP_PSE Static method Public Method Create Temp PSE 20091123
2 DECRYPT_ENCRYPTED_KEY Static method Public Method 20091123
3 DERIVE_KEY Static method Public Method 20100604
4 DISPLAY Instance method Public Method Display XML Stream 20060731
5 FILE_F4 Static method Public Method Determine Local File Name 20060731
6 FIND_CERTIFICATE Static method Public Method Find Certificate corresponding to KeyInfo 20120404
7 INCLUSIVE_NAMESPACES Static method Public Method Canonize with Inclusive Namespaces 20091123
8 INCLUSIVE_NAMESPACES2 Static method Public Method Canonicalize with InclusiveNamespaces 20110404
9 PARSE_XPATH_EXPRESSION Static method Public Method 20100604
10 RESOLVE_PRIVATE_KEY Static method Public Method 20100604
11 RESOLVE_PUBLIC_KEY Static method Public Method 20100604
12 RESOLVE_TEMP_PRIVATE_KEY Static method Public Method Resolve Private Key - Temp. PSE 20091123
13 RESOLVE_TEMP_PUBLIC_KEY Static method Public Method Resolve Public Key - Temp PSE 20120404
14 SAVE_FILE Static method Public Method Store File Locally on Front End 20060731
15 SOAP_SEND Static method Public Method Send SOAP Message 20060731
16 STRING_2_UTF8 Static method Public Method Convert String to UTF-8 Value 20080904
17 TRANSLATE_SSF_2_URI Static method Public Method Translate SSF Parameters to URI from WS-SEC 20091123
18 TRANSLATE_URI_2_SSF Static method Public Method Translate WS-SEC URI to SSF Parameters 20091123
19 UPLOAD_FILE Static method Public Method Upload File from Front End 20060731
20 UTF8_2_STRING Static method Public Method Convert UTF-8 Value to String 20080904
Events
Class CL_SECXML_HELPER has no event.
Types
Class CL_SECXML_HELPER has no local type.
Method Signatures

Method CREATE_TEMP_PSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FILENAME Call by reference Type reference (TYPE) STRING 20091123

Method CREATE_TEMP_PSE on class CL_SECXML_HELPER has no exception.

Method DECRYPT_ENCRYPTED_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DECRYPTED_KEY Call by reference Type reference (TYPE) XSTRING 20091123
2 Importing EK Call by reference Type reference (TYPE) SEC_XENC_ENCRYPTEDKEY 20091123
3 Exporting SSFINFO Call by reference Type reference (TYPE) SSFINFO 20100604
4 Importing TEMP_PSE Call by reference Type reference (TYPE) ABAP_BOOL ' ' 20091123

Method DECRYPT_ENCRYPTED_KEY on class CL_SECXML_HELPER has no exception.

Method DERIVE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing DK Call by reference Type reference (TYPE) SEC_WSC_DK 20100604

Method DERIVE_KEY on class CL_SECXML_HELPER has no exception.

Method DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA Call by reference Type reference (TYPE) XSTRING Daten zum Anzeigen 20060731
2 Importing FULL_SCREEN Call by reference Type reference (TYPE) SAP_BOOL ' ' boolsche Variable (X=true, space=false) 20060731
3 Importing MIME_TYPE Call by reference Type reference (TYPE) STRING MIME Type 20060731

Method DISPLAY on class CL_SECXML_HELPER has no exception.

Method FILE_F4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting FILENAME Call by reference Type reference (TYPE) STRING Lokaler Dateiname 20060731
2 Importing INITIAL_DIRECTORY Call by reference Type reference (TYPE) STRING Directory 20060731
3 Importing WINDOW_TITLE Call by reference Type reference (TYPE) STRING Window-Titel 20060731

Method FILE_F4 on class CL_SECXML_HELPER has no exception.

Method FIND_CERTIFICATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CERTIFICATES Call by reference Type reference (TYPE) SSFBINTAB Table of Certificates 20120404
2 Returning INDEX Value transfer Type reference (TYPE) I Index if found / 0 = not found 20120404
3 Importing KEYINFO Call by reference Type reference (TYPE) SEC_DSIG_KEYINFO ds:KeyInfo 20120404

Method FIND_CERTIFICATE on class CL_SECXML_HELPER has no exception.

Method INCLUSIVE_NAMESPACES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing C14N_STRING Call by reference Type reference (TYPE) XSTRING 20100604
2 Returning DSIG_INFO_OUT Value transfer Type reference (TYPE) SEC_XML_DSIG_INFO DSIG_INFO_OUT 20091123
3 Importing IF_DECRYPT Call by reference Type reference (TYPE) ABAP_BOOL SPACE Automatic decryption during C14n 20100907
4 Importing IF_DIGEST Call by reference Type reference (TYPE) STRING 20100604
5 Importing IF_ELEMENT Call by reference Type reference (TYPE) ABAP_BOOL SPACE 20100604
6 Importing IF_NAME Call by reference Type reference (TYPE) XSTRING 20100604
7 Importing IF_NAMESPACE Call by reference Type reference (TYPE) XSTRING 20100604
8 Importing IF_STR_TRANSFORM Call by reference Type reference (TYPE) ABAP_BOOL 'X' Use STR_TRANFORM 20110404
9 Importing INCL_NAMESPACES Call by reference Type reference (TYPE) SEC_XML_INCLUSIVE_NAMESPACES 20100604
10 Importing NSBINDINGS Call by reference Type reference (TYPE) IF_SXML_NAMED=>NSBINDINGS Namespace environment 20091123

Method INCLUSIVE_NAMESPACES on class CL_SECXML_HELPER has no exception.

Method INCLUSIVE_NAMESPACES2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DSIG_INFO_OUT Value transfer Type reference (TYPE) SEC_XML_DSIG_INFO DSIG_INFO_OUT 20110404
2 Importing PREFIXLIST Call by reference Type reference (TYPE) STRING PrefixList 20110404
3 Importing XML_STRING Call by reference Type reference (TYPE) XSTRING String without InclusiveNamespaces 20110404

Method INCLUSIVE_NAMESPACES2 on class CL_SECXML_HELPER has no exception.

Method PARSE_XPATH_EXPRESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_AXIS Call by reference Type reference (TYPE) STRING 20100604
2 Exporting EF_NAME Call by reference Type reference (TYPE) STRING 20100604
3 Exporting EF_URI Call by reference Type reference (TYPE) STRING 20100604
4 Exporting EF_XPATH_AS_XML Call by reference Type reference (TYPE) XSTRING 20100604
5 Importing IF_XPATH Call by reference Type reference (TYPE) STRING 20100604

Method PARSE_XPATH_EXPRESSION on class CL_SECXML_HELPER has no exception.

Method RESOLVE_PRIVATE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT Call by reference Type reference (TYPE) PSECONTEXT 'WSSE' 20100604
2 Importing KEYINFO Call by reference Type reference (TYPE) SEC_DSIG_KEYINFO 20100604
3 Importing SSFAPPL Call by reference Type reference (TYPE) SSFAPPL 20100604
4 Exporting SSFINFO Call by reference Type reference (TYPE) SSFINFO 20100604

Method RESOLVE_PRIVATE_KEY on class CL_SECXML_HELPER has no exception.

Method RESOLVE_PUBLIC_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CERTIFICATE Call by reference Type reference (TYPE) XSTRING 20100604
2 Importing CONTEXT Call by reference Type reference (TYPE) PSECONTEXT 'WSSE' 20100604
3 Importing KEYINFO Call by reference Type reference (TYPE) SEC_DSIG_KEYINFO 20100604
4 Exporting PAB Call by reference Type reference (TYPE) SSFPAB 20100604
5 Importing SSFAPPL Call by reference Type reference (TYPE) SSFAPPL 20100604

Method RESOLVE_PUBLIC_KEY on class CL_SECXML_HELPER has no exception.

Method RESOLVE_TEMP_PRIVATE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing KEYINFO Call by reference Type reference (TYPE) SEC_DSIG_KEYINFO ds:KeyInfo 20091123
2 Exporting SSFINFO Call by reference Type reference (TYPE) SSFINFO SSF signer/recipient information 20091123

Method RESOLVE_TEMP_PRIVATE_KEY on class CL_SECXML_HELPER has no exception.

Method RESOLVE_TEMP_PUBLIC_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CERTIFICATE Call by reference Type reference (TYPE) XSTRING Certificate 20120404
2 Importing KEYINFO Call by reference Type reference (TYPE) SEC_DSIG_KEYINFO ds:KeyInfo 20120404
3 Exporting PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20120404

Method RESOLVE_TEMP_PUBLIC_KEY on class CL_SECXML_HELPER has no exception.

Method SAVE_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BINDATA Call by reference Type reference (TYPE) XSTRING Inhalt 20060731
2 Importing DEFAULT_FILE_NAME Call by reference Type reference (TYPE) STRING Vorschlag für Dateiname 20060731
3 Importing INITIAL_DIRECTORY Call by reference Type reference (TYPE) STRING Directory 20060731
4 Importing WINDOW_TITLE Call by reference Type reference (TYPE) STRING Window-Titel 20060731

Method SAVE_FILE on class CL_SECXML_HELPER has no exception.

Method SOAP_SEND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESTINATION Call by reference Type reference (TYPE) RFCDEST SM59 Destination 20060731
2 Importing REQUEST Call by reference Type reference (TYPE) XSTRING SOAP Message 20060731
3 Exporting RESPONSE Call by reference Type reference (TYPE) XSTRING HTTP Response 20060731
4 Exporting STATUSCODE Call by reference Type reference (TYPE) I Statuscode 20060731
5 Exporting STATUSTEXT Call by reference Type reference (TYPE) STRING Statustext 20060731
6 Importing URI Call by reference Type reference (TYPE) STRING Request URI 20060731

Method SOAP_SEND on class CL_SECXML_HELPER has no exception.

Method STRING_2_UTF8 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EF_OUTPUT Value transfer Type reference (TYPE) XSTRING Ausgabewert 20080904
2 Importing IF_INPUT Call by reference Type reference (TYPE) STRING Eingabewert 20080904
# Exception Resumable Description Created on
1 CONVERSION_ERROR UTF-8 Konvertierung fehlgeschlagen 20080904
2 CREATEOBJECT_ERROR Interner Fehler bei Create Object aufgetreten 20080904

Method TRANSLATE_SSF_2_URI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ER_URI Value transfer Type reference (TYPE) STRING 20091123
2 Importing SSF_HASH Call by reference Type reference (TYPE) CSEQUENCE 'SHA1' SSF Hash Algorithm 20091123
3 Importing SSF_METHOD Call by reference Type reference (TYPE) CSEQUENCE 'PKCS1-V1.5' SSF format 20091123

Method TRANSLATE_SSF_2_URI on class CL_SECXML_HELPER has no exception.

Method TRANSLATE_URI_2_SSF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SSF_HASH Call by reference Type reference (TYPE) CSEQUENCE SSF Hash Algorithm 20091123
2 Exporting SSF_METHOD Call by reference Type reference (TYPE) CSEQUENCE SSF format 20091123
3 Importing URI Call by reference Type reference (TYPE) STRING 20091123

Method TRANSLATE_URI_2_SSF on class CL_SECXML_HELPER has no exception.

Method UPLOAD_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting BINDATA Call by reference Type reference (TYPE) XSTRING Inhalt 20060731
2 Importing FILENAME Call by reference Type reference (TYPE) STRING Lokaler Dateiname 20060731

Method UPLOAD_FILE on class CL_SECXML_HELPER has no exception.

Method UTF8_2_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EF_OUTPUT Value transfer Type reference (TYPE) STRING Ausgabewert 20080904
2 Importing IF_INPUT Call by reference Type reference (TYPE) XSTRING Eingabewert 20080904
# Exception Resumable Description Created on
1 CONVERSION_ERROR UTF-8 Konvertierung fehlgeschlagen 20080904
2 CREATEOBJECT_ERROR Interner Fehler bei Create Object aufgetreten 20080904
History
Last changed by/on SAP  20130531 
SAP Release Created in 710