SAP ABAP Class CL_WSSE_CONTEXT (WSSE Context)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SOAP_SECURITY (Package) SOAP Security
Properties
Class CL_WSSE_CONTEXT  
Short Description WSSE Context    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOAP_SECURITY   SOAP Security 
Created 20060215   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 TSOAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_WSSE_CONTEXT has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_ST_CRYPTO 20101220 WS Security: Abstract Crypto Token
2 CL_WSSE_PROCESSOR 20101220 WS Security Processing
3 CL_WS_SECURITY_PROTOCOL 20101220 Web Services Security Log Implementation
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CLASS_NAME Constant Private Type reference (TYPE) STRING 'CL_WSSE_CONTEXT' 20060324
2 CO_ERR_AREA_ID Constant Private Type reference (TYPE) STRING 'Security' Area ID 20070831
3 CO_PROCESSOR_ID Constant Private Type reference (TYPE) STRING TSRTM_PROC_ID_SECURITY_PROT 20060324
4 M_CALLED_OPERATION Instance attribute Public Type reference (TYPE) QNAME Called Operation 20070110
5 M_CONFIRMED_SIG_INC Instance attribute Private Type reference (TYPE) IF_WSSE_TYPES=>SEC_WSSE_SIG_CONFIRMATION_TAB Table with confirm. for received signatures 20090121
6 M_HAS_ST Instance attribute Protected Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20080204
7 M_ID_COUNTER Static Attribute Private Type reference (TYPE) INT4 1 Natural number 20090324
8 M_ID_HEADER Instance attribute Protected Type reference (TYPE) IF_WSSE_TYPES=>SEC_HEADER_ID_TAB Tabelle von Header Qname, wsu:id 20080212
9 M_IN_ENC_BEFORE_SIG Instance attribute Protected Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100114
10 M_REPLAY_INFO Instance attribute Private Type reference (TYPE) IF_WSSE_TYPES=>SEC_ST_REPLAY_TAB table of sec_st_cache_id 20090310
11 M_SECURITY_PROTOCOL Instance attribute Private Object reference (TYPE REF TO) CL_WS_SECURITY_PROTOCOL Security protocol 20061013
12 M_SEC_HEADER_TAB Instance attribute Protected Type reference (TYPE) IF_WSSE_TYPES=>SEC_WSSE_SECURITY_TAB Tabelle von SEC_WSSE_SECURITY 20061108
13 M_ST_IN_TAB Instance attribute Private Type reference (TYPE) IF_WSSE_TYPES=>SEC_ST_TAB Tabelle von WS Security Tokens 20080305
14 M_ST_TAB Instance attribute Private Type reference (TYPE) IF_WSSE_TYPES=>SEC_ST_TAB Tabelle von SEC_ST_ENTRY 20080102
15 M_TEMP_PSE Instance attribute Private Object reference (TYPE REF TO) CL_ST_CRYPTO_ISSUED_TOKEN Temp PSE - Issued Token 20090914
Methods
# Method Level Visibility Method type Description Created on
1 ADD_REPLAY_INFORMATION Instance method Private Method Store information to detect replays 20090310
2 AUTHENTICATE Instance method Protected Method Authentisierung 20060511
3 CLEAR Instance method Public Method Context initialisieren 20061110
4 CREATE Static method Protected Method Erzeugt eine neue Instanz 20061201
5 CREATE_ID Static method Public Method 20090324
6 CREATE_SECURE_WRITER Instance method Public Method Creates a new secure writer 20090225
7 GET_CONFIRMED_REC_SIGNATURES Instance method Public Method Get list of Sig.Conf. for rec. signatures (provider) 20090121
8 GET_LANGUAGE Static method Public Method Get language for INTERNET_USER_LOGON 20090717
9 GET_LIFETIME Instance method Private Method Message lifetime in s 20121002
10 GET_MESSAGE_SIGNATURE_TOKEN Instance method Protected Method Security Token zurückgeben 20080428
11 GET_SECURITY_TOKEN Instance method Protected Method Security Token zurückgeben 20080102
12 GET_SUPPORTED_AUTH_METHOD Instance method Public Method List authentication methods supported by available tokens 20091127
13 HANDLE_CBC_ATTACK Instance method Protected Method Handle XML CBC attack 20120326
14 PARSE_SECURITY_HEADER Instance method Public Method Security Header parsen 20060314
15 PARSE_ST Instance method Private Method Security Token parsen 20080118
16 PROCESS_ENCRYPTEDKEY Instance method Public Method xenc:EncryptedKey verarbeiten 20070117
17 RAISE_EXCEPTION Instance method Public Method Fehler in Verarbeitung 20061107
18 RESOLVE_SECURITY_TOKEN Instance method Public Method Securitytoken finden 20080212
19 SET_SECURITY_TOKEN Instance method Public Method WS Security: Security Token setzen 20071227
20 TRACE_AUTHENTICATION_ERROR Instance method Private Method Informationen zu Authentisierungsfehlern 20080318
21 WRITE_REPLAY_INFORMATION Instance method Protected Method Write information about received data for replay check 20090310
22 WRITE_SECURITY_HEADER Instance method Public Method 20060220
Events
Class CL_WSSE_CONTEXT has no event.
Types
Class CL_WSSE_CONTEXT has no local type.
Method Signatures

Method ADD_REPLAY_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SIGNATURE Call by reference Type reference (TYPE) SEC_DSIG_SIGNATURE ds:Signature 20090310

Method ADD_REPLAY_INFORMATION on class CL_WSSE_CONTEXT has no exception.

Method AUTHENTICATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing DSIG_INFO_TAB Call by reference Type reference (TYPE) SEC_XML_DSIG_INFO_TAB Tabelle von SEC_XML_DSIG_INFO 20061107
2 Importing IM_BODY_ELEMENT Call by reference Object reference (TYPE REF TO) IF_SXML_OPEN_ELEMENT SXML Element-Start 20061107
3 Importing SAML11_ST_CFG Call by reference Type reference (TYPE) IF_WSSE_TYPES=>SEC_ST_CFG_I_SAML11 Configuration for Security Token 20081020
4 Importing SIG Call by reference Type reference (TYPE) C 20060511
5 Importing WSSE_BASIC Call by reference Type reference (TYPE) C 20061103
6 Importing WSSE_ENDORSING_X509 Call by reference Type reference (TYPE) C 20080428
7 Importing WSSE_SAML Call by reference Type reference (TYPE) C 20061103
8 Importing WSSE_SCT Call by reference Type reference (TYPE) C 20070701
9 Importing WSSE_SCT_ALLOWD_AUTH Call by reference Type reference (TYPE) STRING_TABLE Tabelle von Strings 20080406
10 Importing WSSE_X509 Call by reference Type reference (TYPE) C 20061103

Method AUTHENTICATE on class CL_WSSE_CONTEXT has no exception.

Method CLEAR Signature

Method CLEAR on class CL_WSSE_CONTEXT has no parameter.
Method CLEAR on class CL_WSSE_CONTEXT has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_INCOMING_CTX Call by reference Object reference (TYPE REF TO) CL_WSSE_CONTEXT WSSE Context 20080305
2 Importing SECURITY_PROTOCOL Call by reference Object reference (TYPE REF TO) CL_WS_SECURITY_PROTOCOL Security protocol 20061201
3 Returning WSSE_CTX_INSTANCE Value transfer Object reference (TYPE REF TO) CL_WSSE_CONTEXT 20061201

Method CREATE on class CL_WSSE_CONTEXT has no exception.

Method CREATE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_PREFIX Call by reference Type reference (TYPE) STRING 20090324
2 Returning RF_ID Value transfer Type reference (TYPE) STRING 20090324

Method CREATE_ID on class CL_WSSE_CONTEXT has no exception.

Method CREATE_SECURE_WRITER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SEC_WRITER Value transfer Object reference (TYPE REF TO) CL_SEC_SXML_WRITER Secure SXML Writer 20090225

Method CREATE_SECURE_WRITER on class CL_WSSE_CONTEXT has no exception.

Method GET_CONFIRMED_REC_SIGNATURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_WSSE_SIG_CONF Value transfer Type reference (TYPE) IF_WSSE_TYPES=>SEC_WSSE_SIG_CONFIRMATION_TAB 20090121

Method GET_CONFIRMED_REC_SIGNATURES on class CL_WSSE_CONTEXT has no exception.

Method GET_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LANGUAGE Value transfer Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20090717
2 Importing SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20090717

Method GET_LANGUAGE on class CL_WSSE_CONTEXT has no exception.

Method GET_LIFETIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LIFETIME Value transfer Type reference (TYPE) I Lifetime in s 20121002

Method GET_LIFETIME on class CL_WSSE_CONTEXT has no exception.

Method GET_MESSAGE_SIGNATURE_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ST Value transfer Object reference (TYPE REF TO) CL_ST_CRYPTO WS Security: abstraktes Security Token 20080428

Method GET_MESSAGE_SIGNATURE_TOKEN on class CL_WSSE_CONTEXT has no exception.

Method GET_SECURITY_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLAZZ Call by reference Type reference (TYPE) STRING 20080405
2 Importing IN Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20080305
3 Returning ST Value transfer Object reference (TYPE REF TO) CL_SECURITY_TOKEN WS Security: abstraktes Security Token 20080102
4 Importing TYPE Call by reference Type reference (TYPE) CHAR32 Characterfeld der Länge 32 20080102

Method GET_SECURITY_TOKEN on class CL_WSSE_CONTEXT has no exception.

Method GET_SUPPORTED_AUTH_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_ACTION Call by reference Type reference (TYPE) STRING Qualified Name 20100701
2 Returning RF_AUTH_METHOD Value transfer Type reference (TYPE) STRING Authentication method 20091130

Method GET_SUPPORTED_AUTH_METHOD on class CL_WSSE_CONTEXT has no exception.

Method HANDLE_CBC_ATTACK Signature

Method HANDLE_CBC_ATTACK on class CL_WSSE_CONTEXT has no parameter.
Method HANDLE_CBC_ATTACK on class CL_WSSE_CONTEXT has no exception.

Method PARSE_SECURITY_HEADER Signature

Method PARSE_SECURITY_HEADER on class CL_WSSE_CONTEXT has no parameter.
Method PARSE_SECURITY_HEADER on class CL_WSSE_CONTEXT has no exception.

Method PARSE_ST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing READER Call by reference Object reference (TYPE REF TO) IF_SXML_READER SXML Reader Interface 20080118

Method PARSE_ST on class CL_WSSE_CONTEXT has no exception.

Method PROCESS_ENCRYPTEDKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENCRYPTEDKEY Call by reference Type reference (TYPE) SEC_XENC_ENCRYPTEDKEY xenc:EncryptedKey 20070117
2 Returning KEY Value transfer Type reference (TYPE) XSTRING decrypted Key 20070122
3 Importing SSF_APPLICATION Call by reference Type reference (TYPE) SSFAPPL SSF-Anwendung 20070122

Method PROCESS_ENCRYPTEDKEY on class CL_WSSE_CONTEXT has no exception.

Method RAISE_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CODE Call by reference Type reference (TYPE) TSOAP_FAULT_CODE TSOAP_FC_CLIENT 20061107
2 Importing FAULTCODE Call by reference Type reference (TYPE) STRING 'InvalidSecurity' 20061107
3 Importing REASON_LANGUAGE Call by reference Type reference (TYPE) LANGU 'E' Sprachenschlüssel 20061107
4 Importing REASON_TEXT Call by reference Type reference (TYPE) STRING 20061107

Method RAISE_EXCEPTION on class CL_WSSE_CONTEXT has no exception.

Method RESOLVE_SECURITY_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KEY_INFO Call by reference Type reference (TYPE) SEC_DSIG_KEYINFO ds:KeyInfo 20080212
2 Returning ST Value transfer Object reference (TYPE REF TO) CL_SECURITY_TOKEN WS Security: abstraktes Security Token 20080212

Method RESOLVE_SECURITY_TOKEN on class CL_WSSE_CONTEXT has no exception.

Method SET_SECURITY_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ST Call by reference Object reference (TYPE REF TO) CL_SECURITY_TOKEN WS Security: abstraktes Security Token 20071227
2 Importing TYPE Call by reference Type reference (TYPE) CHAR32 Characterfeld der Länge 32 20080102

Method SET_SECURITY_TOKEN on class CL_WSSE_CONTEXT has no exception.

Method TRACE_AUTHENTICATION_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_ERROR Call by reference Type reference (TYPE) STRING 20080318
2 Importing IF_LOG_INFO1 Call by reference Type reference (TYPE) STRING 20101105
3 Importing IF_LOG_INFO1_N Call by reference Type reference (TYPE) TEXT Text field 20101105
4 Importing IF_LOG_INFO2 Call by reference Type reference (TYPE) STRING 20101105
5 Importing IF_LOG_INFO2_N Call by reference Type reference (TYPE) TEXT Text field 20101105
6 Importing IF_RC Call by reference Type reference (TYPE) I 20080318

Method TRACE_AUTHENTICATION_ERROR on class CL_WSSE_CONTEXT has no exception.

Method WRITE_REPLAY_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_DBCON Call by reference Type reference (TYPE) DBCON_NAME Logical name for a database connection 20090310

Method WRITE_REPLAY_INFORMATION on class CL_WSSE_CONTEXT has no exception.

Method WRITE_SECURITY_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BODY_PART Call by reference Object reference (TYPE REF TO) IF_SXMLP_PART 20071230
2 Exporting EX_MOD_BODY Call by reference Object reference (TYPE REF TO) IF_SXMLP_PART 20100114
3 Importing HEADER_PARTS Call by reference Object reference (TYPE REF TO) IF_SXMLP_PART_COLLECTION 20071230
4 Exporting SECURITY_HEADER_PART Call by reference Object reference (TYPE REF TO) IF_SXMLP_PART 20060228

Method WRITE_SECURITY_HEADER on class CL_WSSE_CONTEXT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 710