SAP ABAP Class CL_SECSTORE_KERNEL (Kernel wrapper for SecStoreDB)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC (Application Component) Security
⤷
SECSTORE (Package) Secure Storage
⤷
⤷
Properties
| Class | CL_SECSTORE_KERNEL | |
| Short Description | Kernel wrapper for SecStoreDB | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SECSTORE | Secure Storage |
| Created | 20120420 | 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_SECSTORE_KERNEL has no interface implemented.
Friends
Class CL_SECSTORE_KERNEL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | RSECID | 'FEATURE_KEY_INFO_AND_UPDATE' | Kernel methods for key info and update | 20130821 | ||
| 2 | Constant | Public | Type reference (TYPE) | RSECID | 'FEATURE_SID_INSNO_AGNOSTIC' | Encryption key independent of SID and INSNO | 20130627 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check for kernel feature | 20130627 | |
| 2 | Static method | Public | Method | Get buffer refresh tim of SecStoreFS buffer | 20120525 | |
| 3 | Static method | Public | Method | Information about the current encryption key | 20130821 | |
| 4 | Static method | Public | Method | Invalidate SecStoreFS buffer of the work process | 20120525 | |
| 5 | Static method | Public | Method | Check whether given ID belongs to a test namespace | 20120626 | |
| 6 | Static method | Public | Method | Perform legacy key operation | 20130821 | |
| 7 | Static method | Public | Method | Terminate unit testing immedeately | 20120626 | |
| 8 | Static method | Public | Method | Deprecated | 20120423 | |
| 9 | Static method | Public | Method | Set unit test data (auto cancel for first non-test record) | 20130621 |
Events
Class CL_SECSTORE_KERNEL has no event.
Types
Class CL_SECSTORE_KERNEL has no local type.
Method Signatures
Method HAS_FEATURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_FEATURE | Call by reference | Type reference (TYPE) | RSECID | Feature ID (CON_FEATURE_...) | 20130627 | |||
| 2 | RF_IS_SUPPORTED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Supported yes/no | 20130627 |
Method HAS_FEATURE on class CL_SECSTORE_KERNEL has no exception.
Method _GET_FS_BUFFER_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_BUFFER_TIME_SECS | Call by reference | Type reference (TYPE) | I | Buffer time in seconds | 20120525 |
Method _GET_FS_BUFFER_TIME on class CL_SECSTORE_KERNEL has no exception.
Method _GET_KEY_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_ERROR_TEXT | Call by reference | Type reference (TYPE) | C | Error text (may be empty) | 20130821 | |||
| 2 | EF_PRIMARY_KEY_HASH | Call by reference | Type reference (TYPE) | HASH160X | Only returned when KeyID empty | 20130821 | |||
| 3 | EF_RC | Call by reference | Type reference (TYPE) | I | Kernel function return code | 20130821 | |||
| 4 | EF_SECONDARY_KEY_HASH | Call by reference | Type reference (TYPE) | HASH160X | Only returned when KeyID empty | 20130821 | |||
| 5 | EF_SECSTORE_DB_KEYFILE | Call by reference | Type reference (TYPE) | STRING | Path to legacy key file | 20130821 | |||
| 6 | EF_SECSTORE_FS_KEY_ID | Call by reference | Type reference (TYPE) | RSECKEYID | SecStoreFS KeyID (empty --> legacy key) | 20130821 | |||
| 7 | IF_SALT | Call by reference | Type reference (TYPE) | GUID_16 | Salt for PBKDF2 | 20130821 |
Method _GET_KEY_INFO on class CL_SECSTORE_KERNEL has no exception.
Method _INVALIDATE_FS_BUFFER Signature
Method _INVALIDATE_FS_BUFFER on class CL_SECSTORE_KERNEL has no parameter.
Method _INVALIDATE_FS_BUFFER on class CL_SECSTORE_KERNEL has no exception.
Method _IS_TEST_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_IS_TEST_RECORD | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120626 | ||||
| 2 | IF_IDENT | Call by reference | Type reference (TYPE) | RSECID | ID of record in secure memory | 20120626 |
Method _IS_TEST_RECORD on class CL_SECSTORE_KERNEL has no exception.
Method _LEGACY_KEY_OPERATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_ERROR_TEXT | Call by reference | Type reference (TYPE) | C | Error text (may be empty) | 20130821 | |||
| 2 | EF_RC | Call by reference | Type reference (TYPE) | I | Result. 0 = OK. | 20130821 | |||
| 3 | IF_KEY | Call by reference | Type reference (TYPE) | X | Key to set for IF_OPERATION = 1 | 20130821 | |||
| 4 | IF_KEY_HASH | Call by reference | Type reference (TYPE) | HASH160X | Hash Value (160 Bits) | 20130821 | |||
| 5 | IF_OPERATION | Call by reference | Type reference (TYPE) | I | 1: Set secondary; 2: Swap; 3: Delete secondary | 20130821 | |||
| 6 | IF_SALT | Call by reference | Type reference (TYPE) | GUID_16 | Salt for PBKDF2 | 20130821 |
Method _LEGACY_KEY_OPERATION on class CL_SECSTORE_KERNEL has no exception.
Method _RESET_UNIT_TEST_MODE Signature
Method _RESET_UNIT_TEST_MODE on class CL_SECSTORE_KERNEL has no parameter.
Method _RESET_UNIT_TEST_MODE on class CL_SECSTORE_KERNEL has no exception.
Method _SET_UNIT_TEST_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SECSTORE_DB_TEST_ENVIRONMEN | Call by reference | Type reference (TYPE) | RSECDB_TEST_ENVIRONMENT_S | Unit test data for SecStoreDB | 20130621 | |||
| 2 | IS_SECSTORE_FS_TEST_ENVIRONMEN | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20120423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20120423 |
Method _SET_UNIT_TEST_DATA2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_SECSTORE_DB_KEYFILE | Call by reference | Type reference (TYPE) | STRING | Legacy keyfile (overrides "rsec/securestorage/keyfile") | 20130621 | |||
| 2 | IS_SECSTORE_FS_TEST_ENVIRONMEN | Call by reference | Type reference (TYPE) | RSECSSFS_TEST_ENVIRONMENT_S | Kernel API of RSecSSFs: Test Environment per Call | 20130621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception from SecStoreFS | 20130621 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |