1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptomgmtlibs/cryptotokenfw/inc/securitydefsconst.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,136 @@
1.4 +/*
1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of the License "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +* General Security Definitions
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +/**
1.24 + @file
1.25 + @publishedPartner
1.26 + @released
1.27 +*/
1.28 +
1.29 +#ifndef SECURITYDEFSCONST_H
1.30 +#define SECURITYDEFSCONST_H
1.31 +
1.32 +// Certificate Applicability UIDs
1.33 +
1.34 +/**
1.35 + * This UID is associated with certificates which are trusted for
1.36 + * software installation of native applications.
1.37 + *
1.38 + * @see MCertStore::Applications
1.39 + * @see MCTWritableCertStore::SetApplicability
1.40 + *
1.41 + */
1.42 +const TUid KSwiApplicabilityUid = {0x100042AB};
1.43 +
1.44 +/**
1.45 + * This UID is associated with certificates which are trusted for
1.46 + * OCSP checks.
1.47 + *
1.48 + * @see MCertStore::Applications
1.49 + * @see MCTWritableCertStore::SetApplicability
1.50 + *
1.51 + */
1.52 +const TUid KSwiOcspApplicabilityUid = {0x1000A8B6};
1.53 +
1.54 +/**
1.55 + * This UID is associated with certificates which are trusted for
1.56 + * Java midlet installation.
1.57 + *
1.58 + * @see MCertStore::Applications
1.59 + * @see MCTWritableCertStore::SetApplicability
1.60 + *
1.61 + */
1.62 +const TUid KMidletInstallApplicabilityUid = {0x101F9B28};
1.63 +
1.64 +/**
1.65 + * This UID is associated with certificates which are trusted for
1.66 + * SSL/TLS connectivity.
1.67 + *
1.68 + * @see MCertStore::Applications
1.69 + * @see MCTWritableCertStore::SetApplicability
1.70 + *
1.71 + */
1.72 +const TUid KTlsApplicabilityUid = {0x1000183D};
1.73 +
1.74 +/**
1.75 + * This OID is associated with X.509 certificates
1.76 + * trusted for TLS WWW server authentication.
1.77 + *
1.78 + */
1.79 +_LIT(KServerAuthOID,"1.3.6.1.5.5.7.3.1");
1.80 +
1.81 +/**
1.82 + * This OID is associated with X.509 certificates
1.83 + * trusted for TLS WWW client authentication.
1.84 + *
1.85 + */
1.86 + // SSL Client
1.87 + _LIT(KClientAuthOID,"1.3.6.1.5.5.7.3.2");
1.88 +
1.89 +/**
1.90 + * This OID is associated with X.509 certificates
1.91 + * trusted for signing of downloadable executable code.
1.92 + *
1.93 + */
1.94 +_LIT(KCodeSigningOID,"1.3.6.1.5.5.7.3.3");
1.95 +
1.96 +/**
1.97 + * This OID is associated with X.509 certificates
1.98 + * trusted for email protection .
1.99 + *
1.100 + */
1.101 +_LIT(KEmailProtectionOID,"1.3.6.1.5.5.7.3.4");
1.102 +
1.103 +/**
1.104 + * This OID is associated with X.509 certificates
1.105 + * trusted for Ipsec end system.
1.106 + *
1.107 + */
1.108 +_LIT(KIpsecEndSystemOID,"1.3.6.1.5.5.7.3.5");
1.109 +
1.110 +/**
1.111 + * This OID is associated with X.509 certificates
1.112 + * trusted for Ipsec tunnel.
1.113 + *
1.114 + */
1.115 +_LIT(KIpsecTunnelOID,"1.3.6.1.5.5.7.3.6");
1.116 +
1.117 +/**
1.118 + * This OID is associated with X.509 certificates
1.119 + * trusted for Ipsec user.
1.120 + *
1.121 + */
1.122 +_LIT(KIpsecUserOID, "1.3.6.1.5.5.7.3.7");
1.123 +
1.124 +/**
1.125 + * This OID is associated with X.509 certificates
1.126 + * trusted for binding the hash of an object to a time.
1.127 + *
1.128 + */
1.129 +_LIT(KTimeStampingOID,"1.3.6.1.5.5.7.3.8");
1.130 +
1.131 +/**
1.132 + * This OID is associated with X.509 certificates
1.133 + * trusted for signing OCSP responses.
1.134 + *
1.135 + */
1.136 +_LIT(KOCSPSigningOID,"1.3.6.1.5.5.7.3.9");
1.137 +
1.138 +
1.139 +#endif