SAP ABAP Class CL_SECURITY_TOKEN (WS Security: Abstract Security Token)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC (Application Component) Security
⤷
SOAP_SECURITY (Package) SOAP Security

⤷

⤷

Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_ST_CRYPTO | WS Security: Abstract Crypto Token | 20071228 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_ST_TIMESTAMP | WS Security: wsu:Timestamp Token | 20071228 |
3 | Inheritance (c INHERITING FROM c_ref) | CL_ST_USERNAME10 | WS Security: wsse:Username Token | 20071228 |
Properties
Class | CL_SECURITY_TOKEN | |
Short Description | WS Security: Abstract Security Token | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SOAP_SECURITY | SOAP Security |
Created | 20071218 | 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 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SECURITY_TOKEN has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_WSSE_CONTEXT | 20101220 | WSSE Context | |
2 | CL_WSSE_PROCESSOR | 20101220 | WS Security Processing |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'CL_SECURITY_TOKEN' | 20071219 | ||
2 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'Security' | Area ID | 20071219 | |
3 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'wssp:Header(*)' | 20080213 | ||
4 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'wssp:Header(wsse:Security/saml:Assertion)' | 20080213 | ||
5 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'wssp:Header(wsse:Security/dis:Signature)' | 20080213 | ||
6 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'wssp:Header(wsse:Security/wsu:Timestamp)' | 20080213 | ||
7 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'wssp:Header(wsse:Security/wsse:UsernameToken)' | 20080213 | ||
8 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | TSRTM_PROC_ID_SECURITY_PROT | 20071219 | ||
9 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'Always' | 20080529 | ||
10 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'AlwaysToInitiator' | 20080529 | ||
11 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'AlwaysToRecipient' | 20080529 | ||
12 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'Never' | 20080529 | ||
13 | ![]() |
Constant | Protected | Type reference (TYPE) | STRING | 'Once' | 20080529 | ||
14 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'DERIVED_KEY' | Characterfeld der Länge 32 | 20080424 | |
15 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'ENCRYPTING TOKEN' | Characterfeld der Länge 32 | 20080102 | |
16 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'ST Endorsing' | Endorsing | 20080427 | |
17 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR32 | 'ST Endorsing 2' | Endorsing 2 | 20090206 | |
18 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'ISSUED TOKEN' | Character field, length 32 | 20080724 | |
19 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'SAML 1.1 SUPPORTING TOKEN' | Characterfeld der Länge 32 | 20080228 | |
20 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'SCT 2005/02 Token' | Characterfeld der Länge 32 | 20080310 | |
21 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'SCT 1.3 Token' | Characterfeld der Länge 32 | 20080211 | |
22 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'SIGNING TOKEN' | Characterfeld der Länge 32 | 20080102 | |
23 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'SUPPORTING TOKEN' | Characterfeld der Länge 32 | 20080102 | |
24 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'SYSTEM SIGNING TOKEN' | Characterfeld der Länge 32 | 20080312 | |
25 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'TIMESTAMP' | Timestamp | 20080102 | |
26 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR32 | 'X509 Private key Signature' | 'X509 Private key Signature' | 20080213 | |
27 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | SEC_DSIG_REFERENCE_TAB | Table of ds:Reference | 20071218 | ||
28 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | C | ABAP_FALSE | Security Token verschlüsselt? | 20071218 | |
29 | ![]() |
Instance attribute | Public | Type reference (TYPE) | C | Security Header bereits geschrieben | 20080117 | ||
30 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | IF_WSSE_TYPES=>SEC_HEADER_ID_TAB | Tabelle mit Pfad/wsu:Id | 20080213 | ||
31 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | C | Security Token Signiert? | 20071218 | ||
32 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Boolean Variable (X=True, -=False, Space=Unknown) | 20081125 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Protected | Method | wsu:Id hinzufügen | 20080102 |
2 | ![]() |
Instance method | Public | Method | Security Token in den Security Header schreiben | 20071218 |
3 | ![]() |
Instance method | Public | Method | Security Token erzeugen | 20071218 |
4 | ![]() |
Instance method | Protected | Method | Digest auf einem Object innerhalb des Security Headers ber. | 20071219 |
5 | ![]() |
Instance method | Protected | Method | Calculate Digest for a given XML xstring | 20100929 |
6 | ![]() |
Instance method | Public | Constructor | 20071227 | |
7 | ![]() |
Instance method | Protected | Method | Token verschlüsseln | 20080320 |
8 | ![]() |
Instance method | Protected | Method | Token verschlüsseln | 20080505 |
9 | ![]() |
Instance method | Protected | Method | Signaturwert für Security Token ermitteln | 20071228 |
10 | ![]() |
Static method | Protected | Method | wsse:SecurityTokenReference Fragment erzeugen | 20080131 |
11 | ![]() |
Instance method | Public | Method | 20080602 | |
12 | ![]() |
Instance method | Public | Method | 20080602 | |
13 | ![]() |
Instance method | Protected | Method | Fehler in Verarbeitung | 20071218 |
14 | ![]() |
Instance method | Protected | Method | UTC Zeitstempel lesen | 20080228 |
15 | ![]() |
Instance method | Public | Method | wsu:Created Element prüfen | 20080228 |
16 | ![]() |
Instance method | Public | Method | wsu:Check Created Element | 20080716 |
17 | ![]() |
Instance method | Public | Method | wsu:Created und wsu:Expires prüfen | 20120925 |
18 | ![]() |
Static method | Protected | Method | Zeit in UTC String umwandeln | 20071218 |
Events
Class CL_SECURITY_TOKEN has no event.
Types
Class CL_SECURITY_TOKEN has no local type.
Method Signatures
Method ADD_WSUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID | Value transfer | Type reference (TYPE) | STRING | ID in Character-Darstellung | 20080102 | ||
2 | ![]() |
IM_PART | Call by reference | Object reference (TYPE REF TO) | IF_SXMLP_PART | 20080102 |
Method ADD_WSUID on class CL_SECURITY_TOKEN has no exception.
Method APPEND_SECURITY_HEADER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SEC_HEADER_TAB | Call by reference | Type reference (TYPE) | IF_WSSE_TYPES=>SEC_WSSE_SECURITY_TAB | Tabelle von SEC_WSSE_SECURITY | 20071218 |
Method APPEND_SECURITY_HEADER on class CL_SECURITY_TOKEN has no exception.
Method APPLY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
BODY_PART | Call by reference | Object reference (TYPE REF TO) | IF_SXMLP_PART | 20071229 | |||
2 | ![]() |
EX_MOD_BODY | Call by reference | Object reference (TYPE REF TO) | IF_SXMLP_PART | 20100114 | |||
3 | ![]() |
HEADER_PARTS | Call by reference | Object reference (TYPE REF TO) | IF_SXMLP_PART_COLLECTION | 20071229 | |||
4 | ![]() |
HEADER_PARTS_SIG | Call by reference | Object reference (TYPE REF TO) | IF_SXMLP_PART_COLLECTION | Header parts for signing | 20090310 | ||
5 | ![]() |
SEC_WRITER | Call by reference | Object reference (TYPE REF TO) | CL_SEC_SXML_WRITER | Secure SXML Writer | 20080108 | ||
6 | ![]() |
ST_TAB | Call by reference | Type reference (TYPE) | IF_WSSE_TYPES=>SEC_ST_TAB | Tabelle von SEC_ST_ENTRY | 20080102 | ||
7 | ![]() |
WSS_CTX | Call by reference | Object reference (TYPE REF TO) | CL_WSSE_CONTEXT | WSSE Context | 20071218 |
Method APPLY on class CL_SECURITY_TOKEN has no exception.
Method COMPUTE_DIGEST_SH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATA_REF | Call by reference | Object reference (TYPE REF TO) | DATA | 20071219 | |||
2 | ![]() |
DIGEST_METHOD | Call by reference | Type reference (TYPE) | STRING | Digest Method Uri | 20091130 | ||
3 | ![]() |
NAME | Call by reference | Type reference (TYPE) | CLIKE | 20071219 | |||
4 | ![]() |
REFERENCE | Value transfer | Type reference (TYPE) | SEC_DSIG_REFERENCE | ds:Reference | 20071219 | ||
5 | ![]() |
TRANSFORMATION | Call by reference | Type reference (TYPE) | CXSLTDESC | Allgemeine Schnittstelle für Parts | 20071219 | ||
6 | ![]() |
USE_STR_TRANSFORM | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Boolean Variable (X=True, -=False, Space=Unknown) | 20090218 |
Method COMPUTE_DIGEST_SH on class CL_SECURITY_TOKEN has no exception.
Method COMPUTE_DIGEST_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DIGEST_METHOD | Call by reference | Type reference (TYPE) | STRING | 20100929 | |||
2 | ![]() |
REFERENCE | Value transfer | Type reference (TYPE) | SEC_DSIG_REFERENCE | ds:Reference | 20100929 | ||
3 | ![]() |
USE_STR_TRANSFORM | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Boolean Variable (X=True, -=False, Space=Unknown) | 20100929 | |
4 | ![]() |
XML | Call by reference | Type reference (TYPE) | XSTRING | 20100929 |
Method COMPUTE_DIGEST_XML on class CL_SECURITY_TOKEN has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SECURITY_TOKEN has no parameter.
Method CONSTRUCTOR on class CL_SECURITY_TOKEN has no exception.
Method ENCRYPT_TOKEN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_REF_LST | Call by reference | Type reference (TYPE) | SEC_XENC_DATAREFERENCE_TAB | Tabelle von xenc:DataReference | 20080320 | ||
2 | ![]() |
IR_SEC_WRITER | Call by reference | Object reference (TYPE REF TO) | CL_SEC_SXML_WRITER | Secure SXML Writer | 20080320 | ||
3 | ![]() |
IS_KEY | Call by reference | Type reference (TYPE) | SEC_XML_XENC_INFO | xenc:DataReference | 20080320 | ||
4 | ![]() |
WSS_CTX | Call by reference | Object reference (TYPE REF TO) | CL_WSSE_CONTEXT | WSSE Context | 20090121 |
Method ENCRYPT_TOKEN on class CL_SECURITY_TOKEN has no exception.
Method ENCRYPT_TOKEN_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_REF_LST | Call by reference | Type reference (TYPE) | SEC_XENC_DATAREFERENCE_TAB | Tabelle von xenc:DataReference | 20080505 | ||
2 | ![]() |
IF_WSU_ID | Call by reference | Type reference (TYPE) | STRING | 20080505 | |||
3 | ![]() |
IR_SEC_WRITER | Call by reference | Object reference (TYPE REF TO) | CL_SEC_SXML_WRITER | Secure SXML Writer | 20080505 | ||
4 | ![]() |
IS_KEY | Call by reference | Type reference (TYPE) | SEC_XML_XENC_INFO | xenc:DataReference | 20080505 |
Method ENCRYPT_TOKEN_BY_ID on class CL_SECURITY_TOKEN has no exception.
Method GET_DSIG_REFERENCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DIGEST_METHOD | Call by reference | Type reference (TYPE) | STRING | 20101202 | |||
2 | ![]() |
REFERENCE | Call by reference | Type reference (TYPE) | SEC_DSIG_REFERENCE | ds:Reference | 20071228 |
Method GET_DSIG_REFERENCE on class CL_SECURITY_TOKEN has no exception.
Method GET_STR_FRAGMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
KEY_IDENTIFIER | Call by reference | Type reference (TYPE) | STRING | 20080316 | |||
2 | ![]() |
NO_NUMBER_SIGN | Call by reference | Type reference (TYPE) | CHAR01 | Charakterfeld der Länge 1 | 20080604 | ||
3 | ![]() |
SC_INSTANCE | Call by reference | Type reference (TYPE) | STRING | 20090402 | |||
4 | ![]() |
STR_XML | Value transfer | Type reference (TYPE) | XSDANY | XML-Fragment | 20080131 | ||
5 | ![]() |
TOKEN_TYPE | Call by reference | Type reference (TYPE) | STRING | 20080523 | |||
6 | ![]() |
URI | Call by reference | Type reference (TYPE) | STRING | 20080131 | |||
7 | ![]() |
VALUE_TYPE | Call by reference | Type reference (TYPE) | STRING | 20080131 |
Method GET_STR_FRAGMENT on class CL_SECURITY_TOKEN has no exception.
Method IS_CRYPTO_TOKEN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RF_IS_CRYPTO | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20080602 |
Method IS_CRYPTO_TOKEN on class CL_SECURITY_TOKEN has no exception.
Method IS_TOKEN_REUSED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RE_REUSE | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20080602 |
Method IS_TOKEN_REUSED on class CL_SECURITY_TOKEN has no exception.
Method RAISE_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CODE | Call by reference | Type reference (TYPE) | TSOAP_FAULT_CODE | TSOAP_FC_CLIENT | 20071218 | ||
2 | ![]() |
FAULTCODE | Call by reference | Type reference (TYPE) | STRING | 'InvalidSecurity' | 20071218 | ||
3 | ![]() |
REASON_LANGUAGE | Call by reference | Type reference (TYPE) | LANGU | 'E' | Sprachenschlüssel | 20071218 | |
4 | ![]() |
REASON_TEXT | Call by reference | Type reference (TYPE) | STRING | 20071218 |
Method RAISE_EXCEPTION on class CL_SECURITY_TOKEN has no exception.
Method READ_UTC_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STRING | Call by reference | Type reference (TYPE) | STRING | 20080228 | |||
2 | ![]() |
TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080228 |
Method READ_UTC_TIME on class CL_SECURITY_TOKEN has no exception.
Method VERIFY_CREATED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
AGE | Call by reference | Type reference (TYPE) | I | 20080228 | |||
2 | ![]() |
CREATED | Call by reference | Type reference (TYPE) | STRING | 20080228 |
Method VERIFY_CREATED on class CL_SECURITY_TOKEN has no exception.
Method VERIFY_EXPIRES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EXPIRES | Call by reference | Type reference (TYPE) | STRING | 20080716 |
Method VERIFY_EXPIRES on class CL_SECURITY_TOKEN has no exception.
Method VERIFY_TIMESTAMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_TS | Call by reference | Type reference (TYPE) | SEC__WSU_TIMESTAMP | wsu:Timestamp | 20120925 |
Method VERIFY_TIMESTAMP on class CL_SECURITY_TOKEN has no exception.
Method WRITE_UTC_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
AGE | Call by reference | Type reference (TYPE) | I | 20080121 | |||
2 | ![]() |
CLOCK_SKEW | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20090903 | ||
3 | ![]() |
STRING | Value transfer | Type reference (TYPE) | STRING | 20071218 | |||
4 | ![]() |
TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20071218 |
Method WRITE_UTC_TIME on class CL_SECURITY_TOKEN has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 711 |