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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | 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 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_DOCKING_CONTAINER | Docking Control Container | 20060731 | |||
| 2 | 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 | Static method | Public | Method | Create Temp PSE | 20091123 | |
| 2 | Static method | Public | Method | 20091123 | ||
| 3 | Static method | Public | Method | 20100604 | ||
| 4 | Instance method | Public | Method | Display XML Stream | 20060731 | |
| 5 | Static method | Public | Method | Determine Local File Name | 20060731 | |
| 6 | Static method | Public | Method | Find Certificate corresponding to KeyInfo | 20120404 | |
| 7 | Static method | Public | Method | Canonize with Inclusive Namespaces | 20091123 | |
| 8 | Static method | Public | Method | Canonicalize with InclusiveNamespaces | 20110404 | |
| 9 | Static method | Public | Method | 20100604 | ||
| 10 | Static method | Public | Method | 20100604 | ||
| 11 | Static method | Public | Method | 20100604 | ||
| 12 | Static method | Public | Method | Resolve Private Key - Temp. PSE | 20091123 | |
| 13 | Static method | Public | Method | Resolve Public Key - Temp PSE | 20120404 | |
| 14 | Static method | Public | Method | Store File Locally on Front End | 20060731 | |
| 15 | Static method | Public | Method | Send SOAP Message | 20060731 | |
| 16 | Static method | Public | Method | Convert String to UTF-8 Value | 20080904 | |
| 17 | Static method | Public | Method | Translate SSF Parameters to URI from WS-SEC | 20091123 | |
| 18 | Static method | Public | Method | Translate WS-SEC URI to SSF Parameters | 20091123 | |
| 19 | Static method | Public | Method | Upload File from Front End | 20060731 | |
| 20 | 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 | 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 | DECRYPTED_KEY | Call by reference | Type reference (TYPE) | XSTRING | 20091123 | ||||
| 2 | EK | Call by reference | Type reference (TYPE) | SEC_XENC_ENCRYPTEDKEY | 20091123 | ||||
| 3 | SSFINFO | Call by reference | Type reference (TYPE) | SSFINFO | 20100604 | ||||
| 4 | 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 | 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 | DATA | Call by reference | Type reference (TYPE) | XSTRING | Daten zum Anzeigen | 20060731 | |||
| 2 | FULL_SCREEN | Call by reference | Type reference (TYPE) | SAP_BOOL | ' ' | boolsche Variable (X=true, space=false) | 20060731 | ||
| 3 | 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 | FILENAME | Call by reference | Type reference (TYPE) | STRING | Lokaler Dateiname | 20060731 | |||
| 2 | INITIAL_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | Directory | 20060731 | |||
| 3 | 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 | CERTIFICATES | Call by reference | Type reference (TYPE) | SSFBINTAB | Table of Certificates | 20120404 | |||
| 2 | INDEX | Value transfer | Type reference (TYPE) | I | Index if found / 0 = not found | 20120404 | |||
| 3 | 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 | C14N_STRING | Call by reference | Type reference (TYPE) | XSTRING | 20100604 | ||||
| 2 | DSIG_INFO_OUT | Value transfer | Type reference (TYPE) | SEC_XML_DSIG_INFO | DSIG_INFO_OUT | 20091123 | |||
| 3 | IF_DECRYPT | Call by reference | Type reference (TYPE) | ABAP_BOOL | SPACE | Automatic decryption during C14n | 20100907 | ||
| 4 | IF_DIGEST | Call by reference | Type reference (TYPE) | STRING | 20100604 | ||||
| 5 | IF_ELEMENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | SPACE | 20100604 | |||
| 6 | IF_NAME | Call by reference | Type reference (TYPE) | XSTRING | 20100604 | ||||
| 7 | IF_NAMESPACE | Call by reference | Type reference (TYPE) | XSTRING | 20100604 | ||||
| 8 | IF_STR_TRANSFORM | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | Use STR_TRANFORM | 20110404 | ||
| 9 | INCL_NAMESPACES | Call by reference | Type reference (TYPE) | SEC_XML_INCLUSIVE_NAMESPACES | 20100604 | ||||
| 10 | 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 | DSIG_INFO_OUT | Value transfer | Type reference (TYPE) | SEC_XML_DSIG_INFO | DSIG_INFO_OUT | 20110404 | |||
| 2 | PREFIXLIST | Call by reference | Type reference (TYPE) | STRING | PrefixList | 20110404 | |||
| 3 | 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 | EF_AXIS | Call by reference | Type reference (TYPE) | STRING | 20100604 | ||||
| 2 | EF_NAME | Call by reference | Type reference (TYPE) | STRING | 20100604 | ||||
| 3 | EF_URI | Call by reference | Type reference (TYPE) | STRING | 20100604 | ||||
| 4 | EF_XPATH_AS_XML | Call by reference | Type reference (TYPE) | XSTRING | 20100604 | ||||
| 5 | 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 | CONTEXT | Call by reference | Type reference (TYPE) | PSECONTEXT | 'WSSE' | 20100604 | |||
| 2 | KEYINFO | Call by reference | Type reference (TYPE) | SEC_DSIG_KEYINFO | 20100604 | ||||
| 3 | SSFAPPL | Call by reference | Type reference (TYPE) | SSFAPPL | 20100604 | ||||
| 4 | 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 | CERTIFICATE | Call by reference | Type reference (TYPE) | XSTRING | 20100604 | ||||
| 2 | CONTEXT | Call by reference | Type reference (TYPE) | PSECONTEXT | 'WSSE' | 20100604 | |||
| 3 | KEYINFO | Call by reference | Type reference (TYPE) | SEC_DSIG_KEYINFO | 20100604 | ||||
| 4 | PAB | Call by reference | Type reference (TYPE) | SSFPAB | 20100604 | ||||
| 5 | 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 | KEYINFO | Call by reference | Type reference (TYPE) | SEC_DSIG_KEYINFO | ds:KeyInfo | 20091123 | |||
| 2 | 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 | CERTIFICATE | Call by reference | Type reference (TYPE) | XSTRING | Certificate | 20120404 | |||
| 2 | KEYINFO | Call by reference | Type reference (TYPE) | SEC_DSIG_KEYINFO | ds:KeyInfo | 20120404 | |||
| 3 | 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 | BINDATA | Call by reference | Type reference (TYPE) | XSTRING | Inhalt | 20060731 | |||
| 2 | DEFAULT_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | Vorschlag für Dateiname | 20060731 | |||
| 3 | INITIAL_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | Directory | 20060731 | |||
| 4 | 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 | DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | SM59 Destination | 20060731 | |||
| 2 | REQUEST | Call by reference | Type reference (TYPE) | XSTRING | SOAP Message | 20060731 | |||
| 3 | RESPONSE | Call by reference | Type reference (TYPE) | XSTRING | HTTP Response | 20060731 | |||
| 4 | STATUSCODE | Call by reference | Type reference (TYPE) | I | Statuscode | 20060731 | |||
| 5 | STATUSTEXT | Call by reference | Type reference (TYPE) | STRING | Statustext | 20060731 | |||
| 6 | 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 | EF_OUTPUT | Value transfer | Type reference (TYPE) | XSTRING | Ausgabewert | 20080904 | |||
| 2 | IF_INPUT | Call by reference | Type reference (TYPE) | STRING | Eingabewert | 20080904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | UTF-8 Konvertierung fehlgeschlagen | 20080904 | ||
| 2 | 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 | ER_URI | Value transfer | Type reference (TYPE) | STRING | 20091123 | ||||
| 2 | SSF_HASH | Call by reference | Type reference (TYPE) | CSEQUENCE | 'SHA1' | SSF Hash Algorithm | 20091123 | ||
| 3 | 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 | SSF_HASH | Call by reference | Type reference (TYPE) | CSEQUENCE | SSF Hash Algorithm | 20091123 | |||
| 2 | SSF_METHOD | Call by reference | Type reference (TYPE) | CSEQUENCE | SSF format | 20091123 | |||
| 3 | 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 | BINDATA | Call by reference | Type reference (TYPE) | XSTRING | Inhalt | 20060731 | |||
| 2 | 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 | EF_OUTPUT | Value transfer | Type reference (TYPE) | STRING | Ausgabewert | 20080904 | |||
| 2 | IF_INPUT | Call by reference | Type reference (TYPE) | XSTRING | Eingabewert | 20080904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | UTF-8 Konvertierung fehlgeschlagen | 20080904 | ||
| 2 | Interner Fehler bei Create Object aufgetreten | 20080904 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |