javacommons/security/src/utils/javacertstorehandler.h
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef JAVACERTSTOREHANDLER_H
       
    18 #define JAVACERTSTOREHANDLER_H
       
    19 
       
    20 #include <vector>
       
    21 #include <string>
       
    22 
       
    23 namespace java
       
    24 {
       
    25 namespace security
       
    26 {
       
    27 
       
    28 class JavaCertStoreHandler
       
    29 {
       
    30 public:
       
    31     static void retrieveRootProtDomainInfo(const char rootHash[],
       
    32                                            std::string& protDomainName,
       
    33                                            std::string& protDomainCategory);
       
    34     static void retrieveRootContent(std::wstring& rootHash,
       
    35                                     long long* len,
       
    36                                     std::string& rootContent);
       
    37     static void retrieveRootsContents(std::vector<std::string>&);
       
    38 };
       
    39 
       
    40 } //end namespace security
       
    41 } //end namespace java
       
    42 
       
    43 #endif // JAVACERTSTOREHANDLER_H
       
    44