javaextensions/satsa/crypto/src/stscipherfactory.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Creates STSCipher implementation according to
       
    15  *                transformation string.
       
    16  *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef STSCIPHERFACTORY_H
       
    21 #define STSCIPHERFACTORY_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <jni.h>
       
    25 
       
    26 namespace java
       
    27 {
       
    28 namespace satsa
       
    29 {
       
    30 
       
    31 // FORWARD DECLARATIONS
       
    32 class STSCipher;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 /**
       
    36  *  Creates chipher implementaions.
       
    37  *
       
    38  */
       
    39 class STSCipherFactory
       
    40 {
       
    41 public:
       
    42     /**
       
    43      * Creates STSCipher implementation according to transformation string.
       
    44      *
       
    45      * @param aTransformation Tansformation which created
       
    46      *                        cipher must provide
       
    47      */
       
    48     static STSCipher* CreateCipher(JNIEnv* aJni, jstring aTransformation,
       
    49                                    int* errCode);
       
    50 
       
    51 };
       
    52 } // namespace satsa
       
    53 } // namespace java
       
    54 #endif // STSCIPHERFACTORY_H
       
    55 // End of File