javaextensions/satsa/crypto/src/stssignature.cpp
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:  Implementation of STSSignature
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #include <hash.h>
       
    20 #include "stssignature.h"
       
    21 #include "logger.h"
       
    22 
       
    23 namespace java
       
    24 {
       
    25 namespace satsa
       
    26 {
       
    27 
       
    28 STSSignature::STSSignature()
       
    29 {
       
    30     mdctx = NULL;
       
    31     md = NULL;
       
    32     mIsUpdated = false;
       
    33 }
       
    34 
       
    35 
       
    36 STSSignature::~STSSignature()
       
    37 {
       
    38 
       
    39 }
       
    40 
       
    41 int STSSignature::Update(JNIEnv* /*aJni*/, jbyteArray /*aData*/, jint /*aOffset*/,
       
    42                          jint /*aLength*/)
       
    43 {
       
    44     LOG(ESATSA, EInfo, "STSRSACipher::Update");
       
    45     return 0;
       
    46 }
       
    47 } // namespace satsa
       
    48 } // namespace java
       
    49 
       
    50