SAP ABAP Class CL_SECSTORE_FS (Kernel-Wrapper for SecStoreFS)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC (Application Component) Security
⤷
SECSTORE (Package) Secure Storage
⤷
⤷
Properties
| Class | CL_SECSTORE_FS | |
| Short Description | Kernel-Wrapper for SecStoreFS | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SECSTORE | Secure Storage |
| Created | 20120404 | 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) |
Interfaces
Class CL_SECSTORE_FS has no interface implemented.
Friends
Class CL_SECSTORE_FS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | RSECSSFS_KEY_TYPE | 1 | Key type in the secure storage | 20120404 | ||
| 2 | Constant | Public | Type reference (TYPE) | RSECSSFS_RECORD_STATUS | 4 | List status: Encrypted Binary Value | 20120515 | ||
| 3 | Constant | Public | Type reference (TYPE) | RSECSSFS_RECORD_STATUS | 3 | List status: Unencrypted Binary Value | 20120515 | ||
| 4 | Constant | Public | Type reference (TYPE) | RSECSSFS_RECORD_STATUS | 6 | List status: Error | 20120515 | ||
| 5 | Constant | Public | Type reference (TYPE) | RSECSSFS_RECORD_STATUS | 2 | List status: Encrypted Text Value | 20120515 | ||
| 6 | Constant | Public | Type reference (TYPE) | RSECSSFS_RECORD_STATUS | 1 | List status: Unencrypted Text Value | 20120515 | ||
| 7 | Constant | Public | Type reference (TYPE) | RSECSSFS_RECORD_STATUS | 5 | List status: Wrong Encryption Key | 20120515 | ||
| 8 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SECSTORE_FS | Kernel-Wrapper for SecStoreFS | 20120423 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Set via FRIEND from unit test | 20120404 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Usage outside package SECSTORE forbidden! | 20120514 | |
| 2 | Instance method | Public | Method | Change Encryption Key | 20120404 | |
| 3 | Static method | Public | Method | Check Key Compound for correct structure | 20120507 | |
| 4 | Instance method | Public | Method | Compact Contents | 20120404 | |
| 5 | Instance method | Public | Method | Delete Record from SecStoreFS | 20120404 | |
| 6 | Static method | Public | Method | Generate Key for SecStoreFS/SecStoreDB | 20120404 | |
| 7 | Static method | Public | Method | Instance Factory | 20120423 | |
| 8 | Instance method | Public | Method | Get (unencrypted) record | 20120417 | |
| 9 | Static method | Public | Method | Usage outside package SECSTORE forbidden! | 20120514 | |
| 10 | Static method | Public | Method | Indicator that test mode active | 20120514 | |
| 11 | Instance method | Public | Method | List Records in SecStoreFS | 20120404 | |
| 12 | Instance method | Public | Method | Put Record into SecStoreFS | 20120404 | |
| 13 | Instance method | Public | Method | Remove files of SecStoreFS | 20120404 | |
| 14 | Static method | Private | Method | Kernel: Wrapper for Key Compound Check | 20120507 | |
| 15 | Static method | Private | Method | Kernel: Wrapper for Convert | 20120404 | |
| 16 | Static method | Private | Method | Kernel: Generate Key for SecStoreFS/SecStoreDB | 20120404 | |
| 17 | Static method | Private | Method | Kernel: Wrapper for Get | 20120417 | |
| 18 | Static method | Private | Method | Kernel: List Records in SecStoreFS | 20120404 | |
| 19 | Static method | Private | Method | Kernel: Wrapper for Put/Delete | 20120404 | |
| 20 | Static method | Private | Method | Kernel: Wrapper for file deletion | 20120404 |
Events
Class CL_SECSTORE_FS has no event.
Types
Class CL_SECSTORE_FS has no local type.
Method Signatures
Method ACTIVATE_TEST_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TEST_ENVIRONMENT | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120629 |
Method ACTIVATE_TEST_MODE on class CL_SECSTORE_FS has no exception.
Method CHANGE_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_NEW_KEY | Call by reference | Type reference (TYPE) | XSTRING | New encryption key | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method CHECK_KEY_COMPOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_KEY_COMPOUND | Call by reference | Type reference (TYPE) | XSTRING | Key Compound | 20120507 | |||
| 2 | IF_KEY_ID | Call by reference | Type reference (TYPE) | STRING | Key ID (not supplied = ignored) | 20120507 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120507 |
Method COMPACT Signature
Method COMPACT on class CL_SECSTORE_FS has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method DELETE_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_KEY | Call by reference | Type reference (TYPE) | STRING | Record Key | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method GENERATE_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_KEY_COMPOUND | Call by reference | Type reference (TYPE) | XSTRING | Key Compound | 20120404 | |||
| 2 | EF_KEY_ID | Call by reference | Type reference (TYPE) | STRING | Generated/Used Key ID | 20120404 | |||
| 3 | IF_KEY_ID | Call by reference | Type reference (TYPE) | STRING | Key ID Proposal (not supplied = generate) | 20120404 | |||
| 4 | IF_KEY_TYPE | Call by reference | Type reference (TYPE) | RSECSSFS_KEY_TYPE | CON_KEY_TYPE_3DES | Key type in the secure storage | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SECSTORE_FS | Kernel-Wrapper for SecStoreFS | 20120423 |
Method GET_INSTANCE on class CL_SECSTORE_FS has no exception.
Method GET_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_IS_BINARY | Call by reference | Type reference (TYPE) | ABAP_BOOL | Value is binary value (EF_VALUEX) | 20120417 | |||
| 2 | EF_VALUE | Call by reference | Type reference (TYPE) | STRING | Record Value (Text) | 20120417 | |||
| 3 | EF_VALUEX | Call by reference | Type reference (TYPE) | XSTRING | Record Value (Binary) | 20120417 | |||
| 4 | IF_KEY | Call by reference | Type reference (TYPE) | STRING | Record Key | 20120417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120417 |
Method GET_TEST_ENVIRONMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_TEST_ENVIRONMENT | Value transfer | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120514 |
Method GET_TEST_ENVIRONMENT on class CL_SECSTORE_FS has no exception.
Method IS_IN_TEST_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RF_TEST_MODE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120514 |
Method IS_IN_TEST_MODE on class CL_SECSTORE_FS has no exception.
Method LIST_RECORDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_DATAFILE | Call by reference | Type reference (TYPE) | STRING | Location of the data file | 20120404 | |||
| 2 | EF_KEYFILE | Call by reference | Type reference (TYPE) | STRING | Location of the key file | 20120404 | |||
| 3 | EF_NUMBER_ACTIVE_RECORDS | Call by reference | Type reference (TYPE) | I | Number of records in the prefix | 20120404 | |||
| 4 | EF_NUMBER_DELETED_RECORDS | Call by reference | Type reference (TYPE) | I | Number of deleted records in the prefix | 20120404 | |||
| 5 | ET_RECORDS | Call by reference | Type reference (TYPE) | RSECSSFS_LIST_RECORDS_T | Kernel API of RSecSSFs: List Records result table type | 20120404 | |||
| 6 | IF_PREFIX | Call by reference | Type reference (TYPE) | STRING | Record key prefix | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method PUT_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_IS_BINARY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Store binary value (use IF_VALUEX) | 20120404 | ||
| 2 | IF_KEY | Call by reference | Type reference (TYPE) | STRING | Record Key | 20120404 | |||
| 3 | IF_STORE_PLAINTEXT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Store unencrypted | 20120404 | ||
| 4 | IF_VALUE | Call by reference | Type reference (TYPE) | STRING | Record Value (Text) | 20120404 | |||
| 5 | IF_VALUEX | Call by reference | Type reference (TYPE) | XSTRING | Record Value (Binary) | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method REMOVE_FILES Signature
Method REMOVE_FILES on class CL_SECSTORE_FS has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method _CHECK_KEY_COMPOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_KEY_COMPOUND | Call by reference | Type reference (TYPE) | XSTRING | Key Compound | 20120507 | |||
| 2 | IF_KEY_ID | Call by reference | Type reference (TYPE) | STRING | Key ID | 20120507 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120507 |
Method _CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_RECS_PLAINTEXT | Call by reference | Type reference (TYPE) | I | 20120404 | ||||
| 2 | EF_RECS_SECURE_NOT_READABLE | Call by reference | Type reference (TYPE) | I | 20120404 | ||||
| 3 | EF_RECS_SECURE_READABLE | Call by reference | Type reference (TYPE) | I | 20120404 | ||||
| 4 | IF_NEW_KEY | Call by reference | Type reference (TYPE) | XSTRING | 20120404 | ||||
| 5 | IF_OLD_KEY | Call by reference | Type reference (TYPE) | XSTRING | 20120404 | ||||
| 6 | IS_TEST_ENVIRONMENT | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method _GENERATE_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_KEY_COMPOUND | Call by reference | Type reference (TYPE) | XSTRING | Key Compound | 20120404 | |||
| 2 | EF_KEY_ID | Call by reference | Type reference (TYPE) | STRING | Generated/Used Key ID | 20120404 | |||
| 3 | IF_KEY_ID | Call by reference | Type reference (TYPE) | STRING | Key ID Proposal (empty = generate) | 20120404 | |||
| 4 | IF_KEY_TYPE | Call by reference | Type reference (TYPE) | RSECSSFS_KEY_TYPE | Key type in the secure storage | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method _GET_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_IS_BINARY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120417 | ||||
| 2 | EF_VALUE | Call by reference | Type reference (TYPE) | STRING | 20120417 | ||||
| 3 | EF_VALUEX | Call by reference | Type reference (TYPE) | XSTRING | 20120417 | ||||
| 4 | IF_KEY | Call by reference | Type reference (TYPE) | STRING | 20120417 | ||||
| 5 | IS_TEST_ENVIRONMENT | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120417 |
Method _LIST_RECORDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_DATAFILE | Call by reference | Type reference (TYPE) | STRING | Location of the data file | 20120404 | |||
| 2 | EF_KEYFILE | Call by reference | Type reference (TYPE) | STRING | Location of the key file | 20120404 | |||
| 3 | EF_NUMBER_ACTIVE_RECORDS | Call by reference | Type reference (TYPE) | I | Number of records in the prefix | 20120404 | |||
| 4 | EF_NUMBER_DELETED_RECORDS | Call by reference | Type reference (TYPE) | I | Number of deleted records in the prefix | 20120404 | |||
| 5 | ET_RECORDS | Call by reference | Type reference (TYPE) | RSECSSFS_LIST_RECORDS_T | Kernel API of RSecSSFs: List Records result table type | 20120404 | |||
| 6 | IF_PREFIX | Call by reference | Type reference (TYPE) | STRING | Record key prefix | 20120404 | |||
| 7 | IS_TEST_ENVIRONMENT | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method _PUT_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_IS_BINARY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120404 | ||||
| 2 | IF_KEY | Call by reference | Type reference (TYPE) | STRING | 20120404 | ||||
| 3 | IF_STORE_PLAINTEXT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120404 | ||||
| 4 | IF_VALUE | Call by reference | Type reference (TYPE) | STRING | 20120404 | ||||
| 5 | IF_VALUEX | Call by reference | Type reference (TYPE) | XSTRING | 20120404 | ||||
| 6 | IS_TEST_ENVIRONMENT | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
Method _REMOVE_FILES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TEST_ENVIRONMENT | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120404 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |