javaextensions/satsa/pki/src.s60/stspkiconstants.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19: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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef STSPKICONSTANTS_H
       
    20 #define STSPKICONSTANTS_H
       
    21 
       
    22 
       
    23 
       
    24 // Leave code which maps to the Java side as UserCredentialManagerException
       
    25 // with reason SE_NOT_FOUND.
       
    26 const TInt KSTSErrSeNotFound = -4001;
       
    27 
       
    28 // Leave code which maps to the Java side as UserCredentialManagerException
       
    29 // with reason SE_NO_KEYS
       
    30 const TInt KSTSErrSeNoKeys = -4002;
       
    31 
       
    32 // Leave code which maps to the Java side as IllegalArgumentException
       
    33 // "already registered"
       
    34 const TInt KSTSErrAlreadyRegistered = -4003;
       
    35 
       
    36 // Leave code which maps to the Java side as IllegalArgumentException
       
    37 // "Invalid CA name"
       
    38 const TInt KSTSErrInvalidCAName = -4004;
       
    39 
       
    40 // Leave code which maps to the Java side as IllegalArgumentException
       
    41 // "Invalid characters in CAName"
       
    42 const TInt KSTSErrInvalidCharactersInCAName = -4005;
       
    43 
       
    44 
       
    45 #endif // STSPKICONSTANTS_H