cryptoservices/certificateandkeymgmt/pkcs7/pkcs7asn1.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2003-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 
       
    20 
       
    21 
       
    22 
       
    23 /**
       
    24  @file
       
    25  @internalTechnology
       
    26 */
       
    27 
       
    28 #ifndef __PKCS7_ASN1_H__
       
    29 #define __PKCS7_ASN1_H__
       
    30 
       
    31 #include <e32base.h>
       
    32 
       
    33 class TASN1DecGeneric;
       
    34 /**
       
    35  * Decode a generic ASN1 sequence, optionally with a minimum/maximum number of top level terms.
       
    36  * @internalTechnology
       
    37  */
       
    38 namespace PKCS7ASN1
       
    39 {
       
    40 	CArrayPtr<TASN1DecGeneric>* DecodeSequenceLC(const TDesC8& aRawData);
       
    41 	CArrayPtr<TASN1DecGeneric>* DecodeSequenceLC(const TDesC8& aRawData,
       
    42 														const TInt aMinTerms,
       
    43 														const TInt aMaxTerms);
       
    44 }
       
    45 #endif