vpnengine/dmadpki/inc/dmadprivkeyparms.h
changeset 0 33413c0669b9
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     1 /*
       
     2 * Copyright (c) 2002 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: Class definition of CDmAdPrivKeyParms.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DMADPRIVKEYPARMS_H__
       
    21 #define __DMADPRIVKEYPARMS_H__
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 #include "pkidefs.h"
       
    26 
       
    27 class CDmAdPrivKeyParms : public CBase
       
    28     {
       
    29 public:
       
    30     static CDmAdPrivKeyParms* NewL();
       
    31     static CDmAdPrivKeyParms* NewLC();
       
    32     ~CDmAdPrivKeyParms();
       
    33     
       
    34     TPKIKeyAlgorithm KeyType() const;
       
    35     void SetKeyTypeL(TPKIKeyAlgorithm aType);
       
    36     TPtrC8 KeyId() const;
       
    37     void SetKeyIdL(const TDesC8& aKeyId);
       
    38     TInt KeyLength() const;
       
    39     void SetKeyLength(TInt aType);
       
    40     
       
    41 private:
       
    42     CDmAdPrivKeyParms();
       
    43     
       
    44 private:
       
    45     TPKIKeyAlgorithm    iKeyType;
       
    46     TInt                iKeyLength;
       
    47     HBufC8*             iKeyId;  
       
    48     };
       
    49 
       
    50 #endif