SAP ABAP Class CL_SEC_SXML_WRITER (Secure SXML Writer)
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_SEC_SXML_WRITER | |
Short Description | Secure SXML Writer | |
Super Class | ||
Instantiability of a Class | 0 | Private |
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 | 20050503 | SAP |
Last change | 20140121 | 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) |
Interfaces
Class CL_SEC_SXML_WRITER has no interface implemented.
Friends
Class CL_SEC_SXML_WRITER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Public | Type reference (TYPE) | XSTRING | '417373657274696F6E4944' | Attributes | 20080904 | |
2 | ![]() |
Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Determine Digest | 20050629 | ||
3 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#aes128-cbc' | AES Algorithm 128 Bit | 20050802 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#aes192-cbc' | AES Algorithm 192 Bit | 20050805 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#aes256-cbc' | AES Algorithm 256 Bit | 20050802 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | MD5 Algorithm | 20080521 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | I | 2 | SHA1 Algorithm | 20080521 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | I | 3 | SHA256 Algorithm | 20080521 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | I | 4 | SHA512 Algorithm | 20080521 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | I | 2 | Encrypt Content | 20050718 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | Encrypt Element | 20050718 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#tripledes-cbc' | Triple DES Algorithm | 20050802 | |
13 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | Digest Method | 20091123 | ||
14 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SEC_XML_DSIG_INFO_TAB | Signature Info | 20050503 | ||
15 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | Signature Method | 20091123 | ||
16 | ![]() |
Instance attribute | Public | Type reference (TYPE) | XSTRING | '75726E3A6F617369733A6E616D65733A74633A53414D4C3A312E303A617373657274696F6E' | Namespace | 20080904 | |
17 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SEC_XML_SSF_INFO_TAB | SSF Info | 20080917 | ||
18 | ![]() |
Instance attribute | Public | Type reference (TYPE) | C | 'X' | STR Transform Handling Active | 20080117 | |
19 | ![]() |
Instance attribute | Public | Object reference (TYPE REF TO) | CL_SXML_WRITER | SXML Writer Factory | 20050503 | ||
20 | ![]() |
Instance attribute | Public | Type reference (TYPE) | SEC_XML_XENC_INFO_TAB | Encryption Information | 20050503 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Canonize | 20050503 |
2 | ![]() |
Static method | Public | Method | Check if symmetric encryption is avaliable | 20110328 |
3 | ![]() |
Static method | Public | Method | Create Secure Writer | 20050503 |
4 | ![]() |
Static method | Public | Method | Decrypt data | 20110328 |
5 | ![]() |
Static method | Public | Method | Encrypt data | 20110328 |
6 | ![]() |
Static method | Public | Method | Create Symmetric Key | 20060217 |
7 | ![]() |
Instance method | Public | Method | set reader option | 20080924 |
8 | ![]() |
Static method | Public | Method | HMAC | 20080521 |
9 | ![]() |
Instance method | Private | Method | Initialiszation of Kernel Implementation | 20050503 |
10 | ![]() |
Static method | Public | Method | PKCS#7 / PKCS#5 Padding | 20130625 |
11 | ![]() |
Instance method | Public | Method | set reader option | 20080924 |
12 | ![]() |
Instance method | Public | Method | set reader option | 20080924 |
Events
Class CL_SEC_SXML_WRITER has no event.
Types
Class CL_SEC_SXML_WRITER has no local type.
Method Signatures
Method CANONICALIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ALGORITHM | Call by reference | Type reference (TYPE) | I | 20050503 | |||
2 | ![]() |
OUTPUT | Call by reference | Type reference (TYPE) | XSTRING | 20050503 |
Method CANONICALIZE on class CL_SEC_SXML_WRITER has no exception.
Method CHECK_ENCRYPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ENCRYPTION | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' = encryption available | 20110328 |
Method CHECK_ENCRYPTION on class CL_SEC_SXML_WRITER has no exception.
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ATTRIBUTE | Call by reference | Type reference (TYPE) | XSTRING | Default Attribute | 20080903 | ||
2 | ![]() |
DIGEST | Call by reference | Type reference (TYPE) | STRING | Default Digest Method | 20091123 | ||
3 | ![]() |
NAMESPACE | Call by reference | Type reference (TYPE) | XSTRING | Default Namespace for Attribute | 20080903 | ||
4 | ![]() |
SEC_SXML_WRITER | Value transfer | Object reference (TYPE REF TO) | CL_SEC_SXML_WRITER | Secure SXML Writer | 20050503 | ||
5 | ![]() |
SXML_WRITER | Call by reference | Object reference (TYPE REF TO) | CL_SXML_WRITER | SXML Writer Factory | 20050503 |
Method CREATE on class CL_SEC_SXML_WRITER has no exception.
Method DECRYPT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ALGORITHM | Call by reference | Type reference (TYPE) | STRING | CO_TDES_ALGORITHM | Algorithm | 20110328 | |
2 | ![]() |
CIPHERTEXT | Call by reference | Type reference (TYPE) | XSTRING | Ciphertext | 20110328 | ||
3 | ![]() |
KEY | Call by reference | Type reference (TYPE) | XSTRING | Key | 20110328 | ||
4 | ![]() |
PLAINTEXT | Call by reference | Type reference (TYPE) | XSTRING | Plaintext | 20110328 |
Method DECRYPT on class CL_SEC_SXML_WRITER has no exception.
Method ENCRYPT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ALGORITHM | Call by reference | Type reference (TYPE) | STRING | CO_TDES_ALGORITHM | Algorithm | 20110328 | |
2 | ![]() |
CIPHERTEXT | Call by reference | Type reference (TYPE) | XSTRING | Ciphertext | 20110328 | ||
3 | ![]() |
KEY | Call by reference | Type reference (TYPE) | XSTRING | Key | 20110328 | ||
4 | ![]() |
PLAINTEXT | Call by reference | Type reference (TYPE) | XSTRING | Plaintext | 20110328 |
Method ENCRYPT on class CL_SEC_SXML_WRITER has no exception.
Method GENERATE_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ALGORITHM | Call by reference | Type reference (TYPE) | STRING | Algorithmus | 20060223 | ||
2 | ![]() |
KEY | Value transfer | Type reference (TYPE) | XSTRING | generierter Schlüssel | 20060217 |
Method GENERATE_KEY on class CL_SEC_SXML_WRITER has no exception.
Method GET_STRING_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EF_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | Attribut | 20080924 | ||
2 | ![]() |
EF_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | Namespace | 20080924 |
Method GET_STRING_ATTRIBUTES on class CL_SEC_SXML_WRITER has no exception.
Method HMAC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HASH_ALGORITHM | Call by reference | Type reference (TYPE) | I | CO_ALG_SHA1 | 20080521 | ||
2 | ![]() |
INPUT | Call by reference | Type reference (TYPE) | XSTRING | 20080521 | |||
3 | ![]() |
KEY | Call by reference | Type reference (TYPE) | XSTRING | 20080521 | |||
4 | ![]() |
OUTPUT | Value transfer | Type reference (TYPE) | XSTRING | 20080521 |
Method HMAC on class CL_SEC_SXML_WRITER has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_SEC_SXML_WRITER has no parameter.
Method INITIALIZE on class CL_SEC_SXML_WRITER has no exception.
Method PKCS7_PADDING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
BLOCKSIZE | Call by reference | Type reference (TYPE) | I | Multiple the data should be padded to | 20130625 | ||
2 | ![]() |
DATA | Call by reference | Type reference (TYPE) | XSTRING | Data to pad | 20130625 |
Method PKCS7_PADDING on class CL_SEC_SXML_WRITER has no exception.
Method SET_ATTRIBUTES Signature
Method SET_ATTRIBUTES on class CL_SEC_SXML_WRITER has no parameter.
Method SET_ATTRIBUTES on class CL_SEC_SXML_WRITER has no exception.
Method SET_STRING_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IF_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | Attribut | 20080924 | ||
2 | ![]() |
IF_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | Namespace | 20080924 |
Method SET_STRING_ATTRIBUTES on class CL_SEC_SXML_WRITER has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 710 |