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
⤷ 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 | ABAP | 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 | ATTRIBUTE | Instance attribute | Public | Type reference (TYPE) | XSTRING | '417373657274696F6E4944' | Attributes | 20080904 | |
2 | COMPUTE_DIGEST | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Determine Digest | 20050629 | ||
3 | CO_AES128_ALGORITHM | Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#aes128-cbc' | AES Algorithm 128 Bit | 20050802 | |
4 | CO_AES192_ALGORITHM | Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#aes192-cbc' | AES Algorithm 192 Bit | 20050805 | |
5 | CO_AES256_ALGORITHM | Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#aes256-cbc' | AES Algorithm 256 Bit | 20050802 | |
6 | CO_ALG_MD5 | Constant | Public | Type reference (TYPE) | I | 1 | MD5 Algorithm | 20080521 | |
7 | CO_ALG_SHA1 | Constant | Public | Type reference (TYPE) | I | 2 | SHA1 Algorithm | 20080521 | |
8 | CO_ALG_SHA256 | Constant | Public | Type reference (TYPE) | I | 3 | SHA256 Algorithm | 20080521 | |
9 | CO_ALG_SHA512 | Constant | Public | Type reference (TYPE) | I | 4 | SHA512 Algorithm | 20080521 | |
10 | CO_ENCRYPT_CONTENT | Constant | Public | Type reference (TYPE) | I | 2 | Encrypt Content | 20050718 | |
11 | CO_ENCRYPT_ELEMENT | Constant | Public | Type reference (TYPE) | I | 1 | Encrypt Element | 20050718 | |
12 | CO_TDES_ALGORITHM | Constant | Public | Type reference (TYPE) | STRING | 'http://www.w3.org/2001/04/xmlenc#tripledes-cbc' | Triple DES Algorithm | 20050802 | |
13 | DIGEST_METHOD | Instance attribute | Public | Type reference (TYPE) | STRING | Digest Method | 20091123 | ||
14 | DSIG_INFO | Instance attribute | Public | Type reference (TYPE) | SEC_XML_DSIG_INFO_TAB | Signature Info | 20050503 | ||
15 | DSIG_METHOD | Instance attribute | Public | Type reference (TYPE) | STRING | Signature Method | 20091123 | ||
16 | NAMESPACE | Instance attribute | Public | Type reference (TYPE) | XSTRING | '75726E3A6F617369733A6E616D65733A74633A53414D4C3A312E303A617373657274696F6E' | Namespace | 20080904 | |
17 | SSF_INFO | Instance attribute | Public | Type reference (TYPE) | SEC_XML_SSF_INFO_TAB | SSF Info | 20080917 | ||
18 | STR_TRANSFORM | Instance attribute | Public | Type reference (TYPE) | C | 'X' | STR Transform Handling Active | 20080117 | |
19 | SXML_WRITER | Instance attribute | Public | Object reference (TYPE REF TO) | CL_SXML_WRITER | SXML Writer Factory | 20050503 | ||
20 | XENC_INFO | Instance attribute | Public | Type reference (TYPE) | SEC_XML_XENC_INFO_TAB | Encryption Information | 20050503 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CANONICALIZE | Instance method | Public | Method | Canonize | 20050503 |
2 | CHECK_ENCRYPTION | Static method | Public | Method | Check if symmetric encryption is avaliable | 20110328 |
3 | CREATE | Static method | Public | Method | Create Secure Writer | 20050503 |
4 | DECRYPT | Static method | Public | Method | Decrypt data | 20110328 |
5 | ENCRYPT | Static method | Public | Method | Encrypt data | 20110328 |
6 | GENERATE_KEY | Static method | Public | Method | Create Symmetric Key | 20060217 |
7 | GET_STRING_ATTRIBUTES | Instance method | Public | Method | set reader option | 20080924 |
8 | HMAC | Static method | Public | Method | HMAC | 20080521 |
9 | INITIALIZE | Instance method | Private | Method | Initialiszation of Kernel Implementation | 20050503 |
10 | PKCS7_PADDING | Static method | Public | Method | PKCS#7 / PKCS#5 Padding | 20130625 |
11 | SET_ATTRIBUTES | Instance method | Public | Method | set reader option | 20080924 |
12 | SET_STRING_ATTRIBUTES | 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 | Importing | ALGORITHM | Call by reference | Type reference (TYPE) | I | 20050503 | |||
2 | Changing | 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 | Returning | 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 | Importing | ATTRIBUTE | Call by reference | Type reference (TYPE) | XSTRING | Default Attribute | 20080903 | ||
2 | Importing | DIGEST | Call by reference | Type reference (TYPE) | STRING | Default Digest Method | 20091123 | ||
3 | Importing | NAMESPACE | Call by reference | Type reference (TYPE) | XSTRING | Default Namespace for Attribute | 20080903 | ||
4 | Returning | SEC_SXML_WRITER | Value transfer | Object reference (TYPE REF TO) | CL_SEC_SXML_WRITER | Secure SXML Writer | 20050503 | ||
5 | Importing | 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 | Importing | ALGORITHM | Call by reference | Type reference (TYPE) | STRING | CO_TDES_ALGORITHM | Algorithm | 20110328 | |
2 | Importing | CIPHERTEXT | Call by reference | Type reference (TYPE) | XSTRING | Ciphertext | 20110328 | ||
3 | Importing | KEY | Call by reference | Type reference (TYPE) | XSTRING | Key | 20110328 | ||
4 | Exporting | 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 | Importing | ALGORITHM | Call by reference | Type reference (TYPE) | STRING | CO_TDES_ALGORITHM | Algorithm | 20110328 | |
2 | Exporting | CIPHERTEXT | Call by reference | Type reference (TYPE) | XSTRING | Ciphertext | 20110328 | ||
3 | Importing | KEY | Call by reference | Type reference (TYPE) | XSTRING | Key | 20110328 | ||
4 | Importing | 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 | Importing | ALGORITHM | Call by reference | Type reference (TYPE) | STRING | Algorithmus | 20060223 | ||
2 | Returning | 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 | Exporting | EF_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | Attribut | 20080924 | ||
2 | Exporting | 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 | Importing | HASH_ALGORITHM | Call by reference | Type reference (TYPE) | I | CO_ALG_SHA1 | 20080521 | ||
2 | Importing | INPUT | Call by reference | Type reference (TYPE) | XSTRING | 20080521 | |||
3 | Importing | KEY | Call by reference | Type reference (TYPE) | XSTRING | 20080521 | |||
4 | Returning | 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 | Importing | BLOCKSIZE | Call by reference | Type reference (TYPE) | I | Multiple the data should be padded to | 20130625 | ||
2 | Changing | 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 | Importing | IF_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | Attribut | 20080924 | ||
2 | Importing | 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 |