os/security/cryptoservices/certificateandkeymgmt/pkcs7/pkcs7asn1.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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  @file
    23  @internalTechnology
    24 */
    25 
    26 #ifndef __PKCS7_ASN1_H__
    27 #define __PKCS7_ASN1_H__
    28 
    29 #include <e32base.h>
    30 
    31 class TASN1DecGeneric;
    32 /**
    33  * Decode a generic ASN1 sequence, optionally with a minimum/maximum number of top level terms.
    34  * @internalTechnology
    35  */
    36 namespace PKCS7ASN1
    37 {
    38 	CArrayPtr<TASN1DecGeneric>* DecodeSequenceLC(const TDesC8& aRawData);
    39 	CArrayPtr<TASN1DecGeneric>* DecodeSequenceLC(const TDesC8& aRawData,
    40 														const TInt aMinTerms,
    41 														const TInt aMaxTerms);
    42 }
    43 #endif