SAP ABAP Class CL_OBFUSCATOR (CL_OBFUSCATOR)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-XI-IS (Application Component) Integration Server
     SAI_SEC (Package) Exchange Infrastructure: Security
Properties
Class CL_OBFUSCATOR  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAI_SEC   Exchange Infrastructure: Security 
Created 20090825   SAP 
Last change 20110908   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_OBFUSCATOR has no interface implemented.
Friends
Class CL_OBFUSCATOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BYTE2STRING_CONVERTER Static Attribute Private Object reference (TYPE REF TO) CL_ABAP_CONV_IN_CE Help Object 20090825
2 ENC_FLAG Constant Private Type reference (TYPE) X '01' Flags Encrypted Xstrings 20090825
3 STRING2BYTE_CONVERTER Static Attribute Private Object reference (TYPE REF TO) CL_ABAP_CONV_OUT_CE Help Object 20090825
4 XOR_VAL Constant Private Type reference (TYPE) X '74' Used in XOR 20090825
Methods
# Method Level Visibility Method type Description Created on
1 BASE64_DECODE Instance method Public Method Decodes Base64 Coding of a String 20090825
2 BASE64_ENCODE Instance method Public Method Gets Base64 Coding of a String 20090825
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090825
4 DECRYPT_BYTES2BYTES Instance method Public Method Gets Hard-Wired Decryption of Xstring 20090825
5 DECRYPT_BYTES2STRING Instance method Public Method Gets Hard-Wired Decryption of Xstring 20090825
6 DECRYPT_STRING2STRING Instance method Public Method Gets Hard-Wired Decryption of Xstring 20090825
7 ENCRYPT_BYTES2BYTES Instance method Public Method Gets Hard-Wired Encryption of Xstring 20090825
8 ENCRYPT_STRING2BYTES Instance method Public Method Gets Hard-Wired Encryption of String 20090825
9 ENCRYPT_STRING2STRING Instance method Public Method Gets Hard-Wired Encryption of String 20090825
10 GET_BYTES Instance method Public Method Gets Byte Representation of String 20090825
11 RUN_TEST Static method Public Method 20090825
Events
Class CL_OBFUSCATOR has no event.
Types
Class CL_OBFUSCATOR has no local type.
Method Signatures

Method BASE64_DECODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) XSTRING 20090825
2 Importing THE_STRING Call by reference Type reference (TYPE) STRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method BASE64_ENCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20090825
2 Importing THE_BYTE_ARRAY Call by reference Type reference (TYPE) XSTRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_OBFUSCATOR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_OBFUSCATOR has no exception.

Method DECRYPT_BYTES2BYTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) XSTRING 20090825
2 Importing THE_BYTE_ARRAY Call by reference Type reference (TYPE) XSTRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method DECRYPT_BYTES2STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20090825
2 Importing THE_BYTE_ARRAY Call by reference Type reference (TYPE) XSTRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method DECRYPT_STRING2STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20090825
2 Importing THE_STRING Call by reference Type reference (TYPE) STRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method ENCRYPT_BYTES2BYTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) XSTRING 20090825
2 Importing THE_BYTE_ARRAY Call by reference Type reference (TYPE) XSTRING 20090825

Method ENCRYPT_BYTES2BYTES on class CL_OBFUSCATOR has no exception.

Method ENCRYPT_STRING2BYTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) XSTRING 20090825
2 Importing THE_STRING Call by reference Type reference (TYPE) STRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method ENCRYPT_STRING2STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20090825
2 Importing THE_STRING Call by reference Type reference (TYPE) STRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method GET_BYTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) XSTRING 20090825
2 Importing THE_STRING Call by reference Type reference (TYPE) STRING 20090825
# Exception Resumable Description Created on
1 CX_ENCRYPT_ERROR Fehler beim Ver- oder Entschlüsseln 20090825

Method RUN_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20090825

Method RUN_TEST on class CL_OBFUSCATOR has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 730