SAP ABAP Class CL_PKCS (PKCS#12 processing)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC-SSF (Application Component) Secure Store and Forward
     SECF (Package) Secure Store & Forward (SSF) Support
Properties
Class CL_PKCS  
Short Description PKCS#12 processing    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SECF   Secure Store & Forward (SSF) Support 
Created 20120614   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ASN1_PARSER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_PKCS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_PKCS has no interface implemented.
Friends
Class CL_PKCS has no friend class.
Attributes
Class CL_PKCS has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 GET_ENCRYPTED_DATA Static method Public Method 20120614
2 GET_ENCRYPTED_PRIVATEKEY Static method Public Method 20130617
3 GET_PFX Static method Public Method 20130617
4 GET_PKCS7_DATA Static method Public Method 20130617
5 PBE_DECRYPT Static method Public Method 20120720
Events
Class CL_PKCS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_ENCRYPTED_DATA Public See coding 20120614 BEGIN OF ty_encrypted_data, version TYPE i, algid TYPE string, param TYPE ty_pbe_parameter, content TYPE xstring, END OF ty_encrypted_data
2 TY_ENCRYPTED_PRIVATEKEY Public See coding 20130617 BEGIN OF ty_encrypted_privatekey, algid TYPE string, param TYPE ty_pbe_parameter, content TYPE xstring, END OF ty_encrypted_privatekey
3 TY_PBE_PARAMETER Public See coding 20120618 BEGIN OF ty_pbe_parameter, salt TYPE xstring, iteration_count TYPE i, END OF ty_pbe_parameter
4 TY_PFX Public See coding 20120614 BEGIN OF ty_pfx, version TYPE i, authenticated_safe TYPE xstring, mac_oid TYPE string, mac_value TYPE xstring, mac_salt TYPE xstring, iterations TYPE i, END OF ty_pfx
5 TY_PKCS7_DATA Public See coding 20130617 BEGIN OF ty_pkcs7_data, octet_string TYPE xstring, next_tag TYPE REF TO cl_asn1_parser, END OF ty_pkcs7_data
Method Signatures

Method GET_ENCRYPTED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARSER Call by reference Object reference (TYPE REF TO) CL_ASN1_PARSER ASN.1 Parser (for internal use only) 20120614
2 Returning RS_ENCRYPTED_DATA Value transfer Type reference (TYPE) TY_ENCRYPTED_DATA 20120614
# Exception Resumable Description Created on
1 CX_PKCS PKCS#12 Exceptions 20130617

Method GET_ENCRYPTED_PRIVATEKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARSER Call by reference Object reference (TYPE REF TO) CL_ASN1_PARSER 20130617
2 Returning RS_ENCRYPTED_PRIVATEKEY Value transfer Type reference (TYPE) TY_ENCRYPTED_PRIVATEKEY 20130617
# Exception Resumable Description Created on
1 CX_PKCS PKCS#12 Exceptions 20130617

Method GET_PFX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_BLOB Call by reference Type reference (TYPE) XSTRING 20130617
2 Returning RS_PFX Value transfer Type reference (TYPE) TY_PFX 20130617
# Exception Resumable Description Created on
1 CX_PKCS PKCS#12 Exceptions 20130617

Method GET_PKCS7_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARSER Call by reference Object reference (TYPE REF TO) CL_ASN1_PARSER 20130617
2 Returning RS_DATA Value transfer Type reference (TYPE) TY_PKCS7_DATA 20130617

Method GET_PKCS7_DATA on class CL_PKCS has no exception.

Method PBE_DECRYPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_ALGORITHM Call by reference Type reference (TYPE) STRING PBE Algorithm ID 20120720
2 Importing IF_CIPHERTEXT Call by reference Type reference (TYPE) XSTRING Encrypted data 20120720
3 Importing IF_PARAMETER Call by reference Type reference (TYPE) TY_PBE_PARAMETER PBE Parameter 20120720
4 Importing IF_PASSWORD Call by reference Type reference (TYPE) STRING Password 20120720
5 Returning RF_PLAINTEXT Value transfer Type reference (TYPE) XSTRING Decrypted data 20120720

Method PBE_DECRYPT on class CL_PKCS has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740