pkiutilities/DeviceToken/Inc/DevCertKeyStreamUtils.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2006 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:   The header file of DevCertKeySteamUtils
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DEVCERTKEYSTREAMUTILS_H__
       
    21 #define __DEVCERTKEYSTREAMUTILS_H__
       
    22 
       
    23 #include <s32strm.h>
       
    24 #include "DevTokenMarshaller.h"
       
    25 
       
    26 class CRSAPublicKey;
       
    27 class CRSAPrivateKey;
       
    28 class CDSAPublicKey;
       
    29 class CDSAPrivateKey;
       
    30 class RInteger;
       
    31 
       
    32 EXTERNALIZE_FUNCTION(CRSAPublicKey)
       
    33 
       
    34 EXTERNALIZE_FUNCTION(CRSAPrivateKey)
       
    35 
       
    36 EXTERNALIZE_FUNCTION(CDSAPublicKey)
       
    37 
       
    38 EXTERNALIZE_FUNCTION(CDSAPrivateKey)
       
    39 
       
    40 void ExternalizeL(const CRSAPublicKey& aData, RWriteStream& aStream);
       
    41 
       
    42 void ExternalizeL(const CRSAPrivateKey& aData, RWriteStream& aStream);
       
    43 
       
    44 void ExternalizeL(const CDSAPublicKey& aData, RWriteStream& aStream);
       
    45 
       
    46 void ExternalizeL(const CDSAPrivateKey& aData, RWriteStream& aStream);
       
    47 
       
    48 void CreateL(RReadStream& aStream, CRSAPublicKey*& aOut);
       
    49 
       
    50 void CreateL(RReadStream& aStream, CRSAPrivateKey*& aOut);
       
    51 
       
    52 void CreateL(RReadStream& aStream, CDSAPublicKey*& aOut);
       
    53 
       
    54 void CreateL(RReadStream& aStream, CDSAPrivateKey*& aOut);
       
    55 
       
    56 #endif //__DEVCERTKEYSTREAMUTILS_H__