cryptoservices/certificateandkeymgmt/pkixCert/pkixValidationResult.cpp
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 1998-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 the License "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 #include "pkixvalidationresult.h"
       
    20 
       
    21 EXPORT_C CPKIXValidationResult* CPKIXValidationResult::NewL()
       
    22 	{
       
    23 	CPKIXValidationResult* s = CPKIXValidationResult::NewLC();
       
    24 	CleanupStack::Pop(s);
       
    25 	return s;
       
    26 	}
       
    27 
       
    28 EXPORT_C CPKIXValidationResult* CPKIXValidationResult::NewLC()
       
    29 	{
       
    30 	CPKIXValidationResult* s = new(ELeave) CPKIXValidationResult;
       
    31 	CleanupStack::PushL(s);
       
    32 	s->ConstructL();
       
    33 	return s;
       
    34 	}
       
    35 
       
    36 EXPORT_C CPKIXValidationResult::~CPKIXValidationResult()
       
    37 	{
       
    38 	}
       
    39 
       
    40 CPKIXValidationResult::CPKIXValidationResult()
       
    41 	: CPKIXValidationResultBase()
       
    42 	{
       
    43 	}
       
    44 
       
    45 EXPORT_C const TValidationStatus CPKIXValidationResult::Error() const
       
    46 	{
       
    47 	return CPKIXValidationResultBase::Error();
       
    48 	}
       
    49 
       
    50 EXPORT_C const CArrayFixFlat<TValidationStatus>& CPKIXValidationResult::Warnings() const
       
    51 	{
       
    52 	return CPKIXValidationResultBase::Warnings();
       
    53 	}
       
    54 
       
    55 EXPORT_C const CArrayPtrFlat<CX509CertPolicyInfo>& CPKIXValidationResult::Policies() const
       
    56 	{
       
    57 	return CPKIXValidationResultBase::Policies();
       
    58 	}
       
    59 
       
    60 EXPORT_C const RPointerArray<CCertificateValidationWarnings>& CPKIXValidationResult::ValidationWarnings() const
       
    61 	{
       
    62 	return CPKIXValidationResultBase::ValidationWarnings();
       
    63 	}