Symbian3/SDK/Source/GUID-8AB9527A-1C7E-5D3A-9AB2-A3FA1F5A2D5B.dita
changeset 8 ae94777fff8f
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-8AB9527A-1C7E-5D3A-9AB2-A3FA1F5A2D5B" xml:lang="en"><title>UIDs</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    13 <section id="GUID-D577F130-EBFF-4526-BB1B-C09C2D1AE41F"><title>Symmetric cipher
       
    14 algorithm UIDs</title> <table id="GUID-8DF2D162-47BE-5B6F-992E-81EF1BA45AEA">
       
    15 <tgroup cols="4"><colspec colname="col0" colwidth="0.59*"/><colspec colname="col1" colwidth="1.14*"/><colspec colname="col2" colwidth="0.57*"/><colspec colname="col3" colwidth="1.73*"/>
       
    16 <thead>
       
    17 <row>
       
    18 <entry>UID</entry>
       
    19 <entry>Description</entry>
       
    20 <entry>Value</entry>
       
    21 <entry>RFC standard</entry>
       
    22 </row>
       
    23 </thead>
       
    24 <tbody>
       
    25 <row>
       
    26 <entry><p>KDesUid </p> </entry>
       
    27 <entry><p>DES (Data Encryption Standard) algorithm </p> </entry>
       
    28 <entry><p>0x10283179 </p> </entry>
       
    29 <entry><p> <xref href="http://www.ietf.org/rfc/rfc2406.txt" scope="external"> RFC
       
    30 2406</xref> </p> </entry>
       
    31 </row>
       
    32 <row>
       
    33 <entry><p>K3DesUid </p> </entry>
       
    34 <entry><p>3DES (Triple Data Encryption Standard) algorithm </p> </entry>
       
    35 <entry><p>0x1028317a </p> </entry>
       
    36 <entry><p> <xref href="http://www.ietf.org/rfc/rfc2405.txt" scope="external">RFC
       
    37 2405</xref>  </p> <p> <xref href="http://www.ietf.org/rfc/rfc2420.txt" scope="external">RFC
       
    38 2420</xref>  </p> </entry>
       
    39 </row>
       
    40 <row>
       
    41 <entry><p>KRc2Uid </p> </entry>
       
    42 <entry><p>RC2 algorithm </p> </entry>
       
    43 <entry><p>0x1028317b </p> </entry>
       
    44 <entry><p> <xref href="http://www.ietf.org/rfc/rfc2268.txt" scope="external"> RFC
       
    45 2268</xref>  </p> </entry>
       
    46 </row>
       
    47 <row>
       
    48 <entry><p>KArc4Uid </p> </entry>
       
    49 <entry><p>ARC4 ('alleged' RC4) algorithm (strong random number generator) </p> </entry>
       
    50 <entry><p>0x1028317c </p> </entry>
       
    51 <entry><p> <xref href="http://www.ietf.org/rfc/rfc2144.txt" scope="external"> RFC
       
    52 2144 </xref>  </p> </entry>
       
    53 </row>
       
    54 <row>
       
    55 <entry><p>KAesUid </p> </entry>
       
    56 <entry><p>AES (Advanced Encryption Standard) </p> </entry>
       
    57 <entry><p>0x1028317d </p> </entry>
       
    58 <entry><p> <xref href="http://www.ietf.org/rfc/rfc3268.txt" scope="external"> RFC
       
    59 3268</xref>  </p> </entry>
       
    60 </row>
       
    61 <row>
       
    62 <entry><p>KMisty1Uid </p> </entry>
       
    63 <entry><p>Misty1 algorithm </p> </entry>
       
    64 <entry><p>0x102831be </p> </entry>
       
    65 <entry><p> <xref href="http://tools.ietf.org/html/rfc2994" scope="external">RFC
       
    66 2994</xref> </p> </entry>
       
    67 </row>
       
    68 <row>
       
    69 <entry><p>KMisty2Uid </p> </entry>
       
    70 <entry><p>Misty2 algorithm </p> </entry>
       
    71 <entry><p>0x102831bf </p> </entry>
       
    72 <entry/>
       
    73 </row>
       
    74 <row>
       
    75 <entry><p>KKasumiUid </p> </entry>
       
    76 <entry><p>Kasumi algorithm </p> </entry>
       
    77 <entry><p>0x102831c0 </p> </entry>
       
    78 <entry><p> <xref href="http://tools.ietf.org/html/rfc3711" scope="external">RFC
       
    79 3711</xref> </p> </entry>
       
    80 </row>
       
    81 </tbody>
       
    82 </tgroup>
       
    83 </table> <p>The symmetric cipher algorithm UIDs are used by the following
       
    84 CryptoSPI APIs: </p><ul>
       
    85 <li><p><xref href="GUID-D13C874A-A34F-3DAD-8E58-C6E518E40C9B.dita#GUID-D13C874A-A34F-3DAD-8E58-C6E518E40C9B/GUID-E0E5C018-973F-3704-9B61-233E977E0224"><apiname>CSymmetricCipherFactory::CreateSymmetricCipherL()</apiname></xref></p></li>
       
    86 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-751A1919-E6F3-3445-B011-2AED64768544"><apiname>CRuleSelector::CreateSymmetricCipherL()</apiname></xref></p></li>
       
    87 <li><p><xref href="GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A.dita#GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A/GUID-CCA2D456-B208-384C-B74A-B06B83EFCC16"><apiname>CCryptoPluginEntry::CreateSymmetricCipherL()</apiname></xref></p></li>
       
    88 <li><p><xref href="GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170.dita#GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170/GUID-DEB128B1-EC5F-363B-AE73-9232771F5FB4"><apiname>CAsymmetricCipherFactory::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
    89 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-781533FC-C92E-34C5-9848-A98A836A952D"><apiname>CRuleSelector::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
    90 <li><p><xref href="GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A.dita#GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A/GUID-B3B34A75-353E-3D39-8A5C-AA0391F8F15B"><apiname>CCryptoPluginEntry::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
    91 </ul> </section>
       
    92 <section id="GUID-D2728977-CA7E-4DDB-AE35-9AC8A6577D27"><title>Asymmetric
       
    93 cipher algorithm UIDs</title> <table id="GUID-1B15D4D7-208B-568C-8411-E0F715614C85">
       
    94 <tgroup cols="4"><colspec colname="col0" colwidth="0.63*"/><colspec colname="col1" colwidth="0.53*"/><colspec colname="col2" colwidth="0.57*"/><colspec colname="col3" colwidth="2.29*"/>
       
    95 <thead>
       
    96 <row>
       
    97 <entry>UID</entry>
       
    98 <entry>Description</entry>
       
    99 <entry>Value</entry>
       
   100 <entry>RFC standard</entry>
       
   101 </row>
       
   102 </thead>
       
   103 <tbody>
       
   104 <row>
       
   105 <entry><p>KRsaCipherUid </p> </entry>
       
   106 <entry><p>RSA </p> </entry>
       
   107 <entry><p>0x1028317e </p> </entry>
       
   108 <entry><p> <xref href="http://www.ietf.org/rfc/rfc2437.txt" scope="external">RFC
       
   109 2437: PKCS #1</xref>: RSA Cryptography Specifications Version 2.0 </p> <p> <xref href="http://tools.ietf.org/html/rfc2313" scope="external">RFC 2313 - PKCS
       
   110 #1</xref>: RSA Encryption Version 1.5 </p> </entry>
       
   111 </row>
       
   112 </tbody>
       
   113 </tgroup>
       
   114 </table> <p>The asymmetric cipher algorithm UIDs are used by the following
       
   115  CryptoSPI APIs: </p><ul>
       
   116 <li><p><xref href="GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170.dita#GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170/GUID-DEB128B1-EC5F-363B-AE73-9232771F5FB4"><apiname>CAsymmetricCipherFactory::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
   117 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-781533FC-C92E-34C5-9848-A98A836A952D"><apiname>CRuleSelector::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
   118 <li><p><xref href="GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A.dita#GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A/GUID-B3B34A75-353E-3D39-8A5C-AA0391F8F15B"><apiname>CCryptoPluginEntry::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
   119 <li><p><xref href="GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170.dita#GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170/GUID-EDC16E45-F72F-3E1A-ABDA-762CFAA3E82B"><apiname>CAsymmetricCipherFactory::CreateAsyncAsymmetricCipherL()</apiname></xref></p></li>
       
   120 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-12050906-942F-342B-9B40-1AAA7010ECB6"><apiname>CRuleSelector::CreateAsyncAsymmetricCipherL()</apiname></xref></p></li>
       
   121 </ul> </section>
       
   122 <section id="GUID-07EFE951-61E0-4F53-BBDA-43B189051BAA"><title>Signer algorithm
       
   123 UIDs</title> <table id="GUID-9AA786D9-4884-5765-906B-E917729A1871">
       
   124 <tgroup cols="4"><colspec colname="col0" colwidth="1.00*"/><colspec colname="col1" colwidth="1.00*"/><colspec colname="col2" colwidth="0.48*"/><colspec colname="col3" colwidth="1.52*"/>
       
   125 <thead>
       
   126 <row>
       
   127 <entry>UID</entry>
       
   128 <entry>Description</entry>
       
   129 <entry>Value</entry>
       
   130 <entry>RFC standard</entry>
       
   131 </row>
       
   132 </thead>
       
   133 <tbody>
       
   134 <row>
       
   135 <entry><p>KRsaSignerUid </p> </entry>
       
   136 <entry><p>RSA Signer algorithm </p> </entry>
       
   137 <entry><p>0x1028317f </p> </entry>
       
   138 <entry><p> <xref href="http://www.ietf.org/rfc/rfc4853.txt" scope="external">RFC
       
   139 4853</xref>  </p> </entry>
       
   140 </row>
       
   141 <row>
       
   142 <entry><p>KDsaSignerUid </p> </entry>
       
   143 <entry><p>DSA Signer algorithm </p> </entry>
       
   144 <entry><p>0x10283180 </p> </entry>
       
   145 <entry><p> <xref href="http://www.ietf.org/rfc/rfc3279.txt" scope="external">RFC
       
   146 3279</xref>  </p> </entry>
       
   147 </row>
       
   148 </tbody>
       
   149 </tgroup>
       
   150 </table> <p>The signer algorithm UIDs are used by the following CryptoSPI
       
   151 APIs: </p><ul>
       
   152 <li><p><xref href="GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC.dita#GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC/GUID-686038A5-6F90-32C1-960E-E286B59370EE"><apiname>CSignatureFactory::CreateSignerL()</apiname></xref></p></li>
       
   153 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-B4EEB1B5-C068-36B3-BE72-7597113ED55F"><apiname>CRuleSelector::CreateSignerL()</apiname></xref></p></li>
       
   154 <li><p><xref href="GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC.dita#GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC/GUID-DCF8148C-9781-385D-BC46-BB3DC8873F9B"><apiname>CSignatureFactory::CreateAsyncSignerL()</apiname></xref></p></li>
       
   155 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-B2194066-ABAE-3810-A77C-B734B49D5FC7"><apiname>CRuleSelector::CreateAsyncSignerL()</apiname></xref></p></li>
       
   156 </ul></section>
       
   157 <section id="GUID-D056A982-5E83-4501-BDB1-693A7A503756"><title>Verifier algorithm
       
   158 UIDs</title> <table id="GUID-4D36FD6F-EB37-5D3E-87DC-DE75CFFCF683">
       
   159 <tgroup cols="4"><colspec colname="col0" colwidth="1.00*"/><colspec colname="col1" colwidth="1.00*"/><colspec colname="col2" colwidth="0.57*"/><colspec colname="col3" colwidth="1.43*"/>
       
   160 <thead>
       
   161 <row>
       
   162 <entry>UID</entry>
       
   163 <entry>Description</entry>
       
   164 <entry>Value</entry>
       
   165 <entry>RFC standard</entry>
       
   166 </row>
       
   167 </thead>
       
   168 <tbody>
       
   169 <row>
       
   170 <entry><p>KRsaVerifierUid </p> </entry>
       
   171 <entry><p>RSA Verifier algorithm </p> </entry>
       
   172 <entry><p>0x10283181 </p> </entry>
       
   173 <entry><p> <xref href="http://www.ietf.org/rfc/rfc4853.txt" scope="external">RFC
       
   174 4853</xref>  </p> </entry>
       
   175 </row>
       
   176 <row>
       
   177 <entry><p>KDsaVerifierUid </p> </entry>
       
   178 <entry><p>DSA Verifier algorithm </p> </entry>
       
   179 <entry><p>0x10283182 </p> </entry>
       
   180 <entry><p> <xref href="http://www.ietf.org/rfc/rfc3279.txt" scope="external">RFC
       
   181 3279</xref>  </p> </entry>
       
   182 </row>
       
   183 </tbody>
       
   184 </tgroup>
       
   185 </table> <p>The verifier algorithm UIDs are used by the following CryptoSPI
       
   186 APIs: </p><ul>
       
   187 <li><p><xref href="GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC.dita#GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC/GUID-3DD66A5A-5B9F-3BDB-84B4-DB95BD386100"><apiname>CSignatureFactory::CreateVerifierL()</apiname></xref></p></li>
       
   188 <li><p><xref href="GUID-E564F6AF-9D01-3D3F-AA3E-5956A7221552.dita#GUID-E564F6AF-9D01-3D3F-AA3E-5956A7221552/GUID-3227DC19-D09F-30FB-91BB-93B56D669BE7"><apiname>MPluginSelector::CreateVerifierL()</apiname></xref></p></li>
       
   189 <li><p><xref href="GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC.dita#GUID-3ED5D4BF-0EDD-30ED-B7BA-C62EE2981DAC/GUID-D0C7C0BB-72E5-3BA5-864F-B047A49BD237"><apiname>CSignatureFactory::CreateAsyncVerifierL()</apiname></xref></p></li>
       
   190 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-1CA31AAD-CD01-3F06-864F-A2B37EA1177A"><apiname>CRuleSelector::CreateAsyncVerifierL()</apiname></xref></p></li>
       
   191 </ul></section>
       
   192 <section id="GUID-B2C80B22-9EB3-4AC1-B377-5DC957EB6AEE"><title>Key Agreement
       
   193 algorithm UIDs</title> <table id="GUID-60895D3B-D766-5E65-9392-CCF7A55281D1">
       
   194 <tgroup cols="4"><colspec colname="col0" colwidth="1.00*"/><colspec colname="col1" colwidth="1.00*"/><colspec colname="col2" colwidth="0.55*"/><colspec colname="col3" colwidth="1.46*"/>
       
   195 <thead>
       
   196 <row>
       
   197 <entry>UID</entry>
       
   198 <entry>Description</entry>
       
   199 <entry>Value</entry>
       
   200 <entry>RFC standard</entry>
       
   201 </row>
       
   202 </thead>
       
   203 <tbody>
       
   204 <row>
       
   205 <entry><p>KDHAgreementUid </p> </entry>
       
   206 <entry><p>Diffie-Hellman Key Agreement algorithm </p> </entry>
       
   207 <entry><p>0x10283183 </p> </entry>
       
   208 <entry><p> <xref href="http://www.ietf.org/rfc/rfc2631.txt" scope="external">RFC
       
   209 2631</xref>  </p> </entry>
       
   210 </row>
       
   211 </tbody>
       
   212 </tgroup>
       
   213 </table> <p>The Key Agreement algorithm UIDs are used by the following CryptoSPI
       
   214 APIs: </p><ul>
       
   215 <li><p><xref href="GUID-7DF57CF7-F165-3648-A434-7963F2491D1A.dita#GUID-7DF57CF7-F165-3648-A434-7963F2491D1A/GUID-D3EFC9F7-D0E8-36EB-80E4-03B7716ABED4"><apiname>CKeyAgreementFactory::CreateKeyAgreementL()</apiname></xref></p></li>
       
   216 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-88221CC1-77C4-30D3-86F0-A365D1A03F84"><apiname>CRuleSelector::CreateKeyAgreementL()</apiname></xref></p></li>
       
   217 <li><p><xref href="GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A.dita#GUID-3CDC62B1-2CC9-3546-9E75-772CC1D9546A/GUID-EE365359-41F8-3270-9449-C5A58D89C54A"><apiname>CCryptoPluginEntry::CreateKeyAgreementL()</apiname></xref></p></li>
       
   218 <li><p><xref href="GUID-7DF57CF7-F165-3648-A434-7963F2491D1A.dita#GUID-7DF57CF7-F165-3648-A434-7963F2491D1A/GUID-A327708D-7089-34C0-B717-D3A10D8B5FAF"><apiname>CKeyAgreementFactory::CreateAsyncKeyAgreementL()</apiname></xref></p></li>
       
   219 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-FB7A80AE-3AB8-300F-8FA3-E14C5D3B6E52"><apiname>CRuleSelector::CreateAsyncKeyAgreementL()</apiname></xref></p></li>
       
   220 </ul> </section>
       
   221 <section id="GUID-3BF50684-42E8-4BAA-95C5-73448C048B2F"><title>Key Pair Generator
       
   222 algorithm UIDs</title> <table id="GUID-8CB20C6D-8C7A-5D2B-AD7F-6F04B7204A5F">
       
   223 <tgroup cols="4"><colspec colname="col0" colwidth="1.00*"/><colspec colname="col1" colwidth="1.00*"/><colspec colname="col2" colwidth="0.56*"/><colspec colname="col3" colwidth="1.45*"/>
       
   224 <thead>
       
   225 <row>
       
   226 <entry>UID</entry>
       
   227 <entry>Description</entry>
       
   228 <entry>Value</entry>
       
   229 <entry>RFC standard</entry>
       
   230 </row>
       
   231 </thead>
       
   232 <tbody>
       
   233 <row>
       
   234 <entry><p>KDHKeyPairGeneratorUid </p> </entry>
       
   235 <entry><p>DH Key Pair Generator algorithm </p> </entry>
       
   236 <entry><p>0x10283184 </p> </entry>
       
   237 <entry><p> <xref href="http://www.isi.edu/in-notes/rfc2539.txt" scope="external"> RFC
       
   238 2539</xref>  </p> </entry>
       
   239 </row>
       
   240 <row>
       
   241 <entry><p>KRSAKeyPairGeneratorUid </p> </entry>
       
   242 <entry><p>RSA Key Pair Generator algorithm </p> </entry>
       
   243 <entry><p>0x10283185 </p> </entry>
       
   244 <entry><p> <xref href="http://www.ietf.org/rfc/rfc4055.txt" scope="external">RFC
       
   245 4055</xref>  </p> </entry>
       
   246 </row>
       
   247 <row>
       
   248 <entry><p>KDSAKeyPairGeneratorUid </p> </entry>
       
   249 <entry><p>DSA Key Pair Generator algorithm </p> </entry>
       
   250 <entry><p>0x10283186 </p> </entry>
       
   251 <entry/>
       
   252 </row>
       
   253 </tbody>
       
   254 </tgroup>
       
   255 </table> <p>The Key Pair Generator algorithm UIDs are used by the following
       
   256 CryptoSPI APIs: </p><ul>
       
   257 <li><p><xref href="GUID-F6E699CD-2B2F-36A6-AD82-BD2CC58A7A29.dita#GUID-F6E699CD-2B2F-36A6-AD82-BD2CC58A7A29/GUID-733E6326-0886-3BC3-83BE-67CE02724200"><apiname>CKeyPairGeneratorFactory::CreateAsyncKeyPairGeneratorL()</apiname></xref></p></li>
       
   258 <li><p><xref href="GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79.dita#GUID-253D228B-4210-3906-B5AC-31C7DDBCCD79/GUID-199FAC0D-A9C2-32B9-897A-3A95D795D3CE"><apiname>CRuleSelector::CreateAsyncKeyPairGeneratorL()</apiname></xref></p></li>
       
   259 </ul> </section>
       
   260 <section id="GUID-3485CB77-BD12-4798-886A-F876E2C97FEE"><title>Padding modes</title> <table id="GUID-22EE4534-D4C8-5B74-BF1D-FED85D52D706">
       
   261 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/>
       
   262 <thead>
       
   263 <row>
       
   264 <entry>UID</entry>
       
   265 <entry>Description</entry>
       
   266 <entry>Value</entry>
       
   267 </row>
       
   268 </thead>
       
   269 <tbody>
       
   270 <row>
       
   271 <entry><p>KPaddingModeNoneUid </p> </entry>
       
   272 <entry><p>Padding Mode None Uid </p> </entry>
       
   273 <entry><p>0x10283188 </p> </entry>
       
   274 </row>
       
   275 <row>
       
   276 <entry><p>KPaddingModeSSLv3Uid </p> </entry>
       
   277 <entry><p>SSLv3 Padding Mode Uid </p> </entry>
       
   278 <entry><p>0x10283189 </p> </entry>
       
   279 </row>
       
   280 <row>
       
   281 <entry><p>KPaddingModePKCS7Uid </p> </entry>
       
   282 <entry><p>PKCS7 Padding Mode Uid </p> </entry>
       
   283 <entry><p>0x1028318a </p> </entry>
       
   284 </row>
       
   285 <row>
       
   286 <entry><p>KPaddingModePkcs1_v1_5_EncryptionUid </p> </entry>
       
   287 <entry><p>Pkcs1 v1.5 Encryption Padding mode Uid </p> </entry>
       
   288 <entry><p>0x1028318b </p> </entry>
       
   289 </row>
       
   290 <row>
       
   291 <entry><p>KPaddingModePkcs1_v1_5_SignatureUid </p> </entry>
       
   292 <entry><p>Pkcs1 v1.5 Signature Padding mode Uid </p> </entry>
       
   293 <entry><p>0x1028318c </p> </entry>
       
   294 </row>
       
   295 </tbody>
       
   296 </tgroup>
       
   297 </table> <p>The padding modes are used by the following CryptoSPI APIs: </p><ul>
       
   298 <li><p><xref href="GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170.dita#GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170/GUID-DEB128B1-EC5F-363B-AE73-9232771F5FB4"><apiname>CAsymmetricCipherFactory::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
   299 <li><p><xref href="GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170.dita#GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170/GUID-EDC16E45-F72F-3E1A-ABDA-762CFAA3E82B"><apiname>CAsymmetricCipherFactory::CreateAsyncAsymmetricCipherL()</apiname></xref></p></li>
       
   300 </ul> </section>
       
   301 <section id="GUID-47A7F1B3-12A7-4567-ABE9-21539CE6D737"><title>Cryptography
       
   302 modes</title> <table id="GUID-1E4937C9-0E59-547D-8B56-1BAC3F8ED38C">
       
   303 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/>
       
   304 <thead>
       
   305 <row>
       
   306 <entry>UID</entry>
       
   307 <entry>Description</entry>
       
   308 <entry>Value</entry>
       
   309 </row>
       
   310 </thead>
       
   311 <tbody>
       
   312 <row>
       
   313 <entry><p>KCryptoModeEncryptUid </p> </entry>
       
   314 <entry><p>Crypto Encrypt Mode Uid </p> </entry>
       
   315 <entry><p>0x1028318d </p> </entry>
       
   316 </row>
       
   317 <row>
       
   318 <entry><p>KCryptoModeDecryptUid </p> </entry>
       
   319 <entry><p>Crypto Decrypt Mode Uid </p> </entry>
       
   320 <entry><p>0x1028318e </p> </entry>
       
   321 </row>
       
   322 <row>
       
   323 <entry><p>KCryptoModeNoneUid </p> </entry>
       
   324 <entry><p>Crypto None Mode Uid </p> </entry>
       
   325 <entry><p>0x1028318f </p> </entry>
       
   326 </row>
       
   327 </tbody>
       
   328 </tgroup>
       
   329 </table> <p>The cryptography modes are used by the following CryptoSPI APIs: </p><ul>
       
   330 <li><p><xref href="GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170.dita#GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170/GUID-DEB128B1-EC5F-363B-AE73-9232771F5FB4"><apiname>CAsymmetricCipherFactory::CreateAsymmetricCipherL()</apiname></xref></p></li>
       
   331 <li><p><xref href="GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170.dita#GUID-F9DF2529-463B-3D0C-853A-42E1B9DDD170/GUID-EDC16E45-F72F-3E1A-ABDA-762CFAA3E82B"><apiname>CAsymmetricCipherFactory::CreateAsyncAsymmetricCipherL()</apiname></xref></p></li>
       
   332 </ul></section>
       
   333 <section id="GUID-4C67EEC6-151D-4BF9-A2A4-12FE450B9CC3"><title>Hash algorithm UIDs</title> <table id="GUID-419E5D6D-17A7-5454-92A1-E7EDEF618ED6">
       
   334 <tgroup cols="4"><colspec colname="col0" colwidth="1.00*"/><colspec colname="col1" colwidth="1.00*"/><colspec colname="col2" colwidth="0.72*"/><colspec colname="col3" colwidth="1.28*"/>
       
   335 <thead>
       
   336 <row>
       
   337 <entry>UID</entry>
       
   338 <entry>Description</entry>
       
   339 <entry>Value</entry>
       
   340 <entry>RFC standard</entry>
       
   341 </row>
       
   342 </thead>
       
   343 <tbody>
       
   344 <row>
       
   345 <entry><p>KMd2Uid </p> </entry>
       
   346 <entry><p>MD2, Message-Digest Algorithm </p> </entry>
       
   347 <entry><p>0x10283173 </p> </entry>
       
   348 <entry><p> <xref href="http://www.ietf.org/rfc/rfc1319.txt" scope="external">RFC
       
   349 1319</xref>  </p> </entry>
       
   350 </row>
       
   351 <row>
       
   352 <entry><p>KMd4Uid </p> </entry>
       
   353 <entry><p>MD4, Message-Digest Algorithm (Output: 128 bit message digest) </p> </entry>
       
   354 <entry><p>0x2000B341 </p> </entry>
       
   355 <entry><p> <xref href="http://www.ietf.org/rfc/rfc1320.txt" scope="external">RFC
       
   356 1320</xref>  </p> </entry>
       
   357 </row>
       
   358 <row>
       
   359 <entry><p>KMd5Uid </p> </entry>
       
   360 <entry><p>MD5 ,Message-Digest Algorithm (output:128-bit "fingerprint" or "message
       
   361 digest) </p> </entry>
       
   362 <entry><p>0x10283174 </p> </entry>
       
   363 <entry><p> <xref href="http://www.ietf.org/rfc/rfc1321.txt" scope="external">RFC
       
   364 1321</xref>  </p> </entry>
       
   365 </row>
       
   366 <row>
       
   367 <entry><p>KSha1Uid </p> </entry>
       
   368 <entry><p>Secure Hash Algorithm(output: 160-bit message digest) </p> </entry>
       
   369 <entry><p>0x10283175 </p> </entry>
       
   370 <entry><p> <xref href="http://www.itl.nist.gov/fipspubs/fip180-1.htm" scope="external">FIPS
       
   371 180-1</xref> and <xref href="http://www.ietf.org/rfc/rfc3174.txt" scope="external">RFC
       
   372 3174</xref>  </p> </entry>
       
   373 </row>
       
   374 <row>
       
   375 <entry><p>KSha224Uid </p> </entry>
       
   376 <entry><p>Sha224 algorithm </p> </entry>
       
   377 <entry><p>0x2000E258 </p> </entry>
       
   378 <entry><p> <xref href="http://all.net/books/standards/NIST-CSRC/csrc.nist.gov/publications/fips/fips180-2/FIPS180-2_changenotice.pdf" scope="external">FIPS 180-2 (with change notice)</xref>, <xref href="http://www.ietf.org/rfc/rfc3874.txt" scope="external">RFC3874</xref> and <xref href="http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf" scope="external">FIPS 180-3</xref>  </p> </entry>
       
   379 </row>
       
   380 <row>
       
   381 <entry><p>KSha256Uid </p> </entry>
       
   382 <entry><p>Sha256 algorithm </p> </entry>
       
   383 <entry><p>0x2000E259 </p> </entry>
       
   384 <entry><p> <xref href="http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf" scope="external">FIPS 180-2</xref> and <xref href="http://tools.ietf.org/html/rfc4634" scope="external">RFC 4634 </xref>  </p> </entry>
       
   385 </row>
       
   386 <row>
       
   387 <entry><p>KSha384Uid </p> </entry>
       
   388 <entry><p>Sha384 algorithm </p> </entry>
       
   389 <entry><p>0x2000E25A </p> </entry>
       
   390 <entry><p> <xref href="http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf" scope="external">FIPS 180-2</xref> and <xref href="http://tools.ietf.org/html/rfc4634" scope="external">RFC 4634 </xref>  </p> </entry>
       
   391 </row>
       
   392 <row>
       
   393 <entry><p>KSha512Uid </p> </entry>
       
   394 <entry><p>Sha512 algorithm </p> </entry>
       
   395 <entry><p>0x2000E25B </p> </entry>
       
   396 <entry><p> <xref href="http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf" scope="external">FIPS 180-2</xref> and <xref href="http://tools.ietf.org/html/rfc4634" scope="external">RFC 4634 </xref>  </p> </entry>
       
   397 </row>
       
   398 </tbody>
       
   399 </tgroup>
       
   400 </table> <p>The hash algorithm UIDs are used by the following APIs: </p> <ul>
       
   401 <li id="GUID-FAD44CE7-B0C3-523C-895F-DB58122ACA9D"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CHashFactory::CreateHashL()</apiname></xref>  </p> </li>
       
   402 <li id="GUID-B206FCF6-A9B4-5330-AC91-148D2A18C292"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CRuleSelector::CreateHashL()</apiname></xref>  </p> </li>
       
   403 <li id="GUID-DE3E3CC4-7041-5D50-9C38-409D37858CA0"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CCryptoPluginEntry::CreateHashL()</apiname></xref>  </p> </li>
       
   404 <li id="GUID-17E00247-8550-53C2-9484-3BD0B7BB8350"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CHashFactory::CreateAsyncHashL()</apiname></xref>  </p> </li>
       
   405 <li id="GUID-3FAA4591-64B1-55BF-9A07-D8E4318F9DA7"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CRuleSelector::CreateAsyncHashL()</apiname></xref>  </p> </li>
       
   406 </ul> </section>
       
   407 <section id="GUID-A558F4E2-F9A7-4CE1-86DC-A6E75646D9A7"><title>Random algorithm UIDs</title> <table id="GUID-7080EBEE-F16E-58E7-86D4-55B06AEE3F9C">
       
   408 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/>
       
   409 <thead>
       
   410 <row>
       
   411 <entry>UID</entry>
       
   412 <entry>Description</entry>
       
   413 <entry>Value</entry>
       
   414 </row>
       
   415 </thead>
       
   416 <tbody>
       
   417 <row>
       
   418 <entry><p>KRandomUid </p> </entry>
       
   419 <entry><p>Random algorithm UID </p> </entry>
       
   420 <entry><p>0x10283178 </p> </entry>
       
   421 </row>
       
   422 </tbody>
       
   423 </tgroup>
       
   424 </table> <p>The random algorithm UIDs are used by the following APIs: </p> <ul>
       
   425 <li id="GUID-60CD845B-520E-5A92-9D98-7060DFAFBE2A"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CRandomFactory::CreateRandomL()</apiname></xref>  </p> </li>
       
   426 <li id="GUID-F78A3F91-F0FC-5B97-B09C-377B84DAB442"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname> CryptoSpi::CRuleSelector::CreateRandomL()</apiname></xref>  </p> </li>
       
   427 <li id="GUID-43703C40-4FB3-5233-BF18-34320FC50D8E"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CRandomFactory::CreateAsyncRandomL()</apiname></xref> </p> </li>
       
   428 <li id="GUID-E98800A8-4C96-52CE-AE42-0D780065FBDE"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CRuleSelector::CreateAsyncRandomL()</apiname></xref> </p> </li>
       
   429 </ul> </section>
       
   430 <section id="GUID-C0A00B5D-4499-41D5-A81D-372AFF2F0E98"><title>Symmetric key algorithm UIDs</title> <table id="GUID-21816DBD-BC04-5F12-9972-8FEF5CEA3F5A">
       
   431 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/>
       
   432 <thead>
       
   433 <row>
       
   434 <entry>UID</entry>
       
   435 <entry>Description</entry>
       
   436 <entry>Value</entry>
       
   437 </row>
       
   438 </thead>
       
   439 <tbody>
       
   440 <row>
       
   441 <entry><p>KDesUid </p> </entry>
       
   442 <entry><p>Des algorithm UID </p> </entry>
       
   443 <entry><p>0x10283179 </p> </entry>
       
   444 </row>
       
   445 <row>
       
   446 <entry><p>K3DesUid </p> </entry>
       
   447 <entry><p>3Des algorithm UID </p> </entry>
       
   448 <entry><p>0x1028317a </p> </entry>
       
   449 </row>
       
   450 <row>
       
   451 <entry><p>KRc2Uid </p> </entry>
       
   452 <entry><p>RC2 algorithm UID </p> </entry>
       
   453 <entry><p>0x1028317b </p> </entry>
       
   454 </row>
       
   455 <row>
       
   456 <entry><p>KArc4Uid </p> </entry>
       
   457 <entry><p>ARC4 algorithm UID </p> </entry>
       
   458 <entry><p>0x1028317c </p> </entry>
       
   459 </row>
       
   460 <row>
       
   461 <entry><p>KAesUid </p> </entry>
       
   462 <entry><p>AES algorithm UID </p> </entry>
       
   463 <entry><p>0x1028317d </p> </entry>
       
   464 </row>
       
   465 <row>
       
   466 <entry><p>KMisty1Uid </p> </entry>
       
   467 <entry><p>Misty1 algorithm UID </p> </entry>
       
   468 <entry><p>0x102831be </p> </entry>
       
   469 </row>
       
   470 <row>
       
   471 <entry><p>KMisty2Uid </p> </entry>
       
   472 <entry><p>Misty2 algorithm UID </p> </entry>
       
   473 <entry><p>0x102831bf </p> </entry>
       
   474 </row>
       
   475 <row>
       
   476 <entry><p>KKasumiUid </p> </entry>
       
   477 <entry><p>Kasumi algorithm UID </p> </entry>
       
   478 <entry><p>0x102831c0 </p> </entry>
       
   479 </row>
       
   480 </tbody>
       
   481 </tgroup>
       
   482 </table> <p>The symmetric key algorithm UIDs are used by the following API: </p> <ul>
       
   483 <li id="GUID-CF4CBD6B-F8AE-5034-9A3D-7D85D35DDCC4"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CSymmetricCipher::CSymmetricCipher()</apiname></xref> </p> </li>
       
   484 </ul> </section>
       
   485 <section id="GUID-6A2F6C81-F91D-4453-8A5C-2B5D797681DD"><title>Asymmetric key algorithm UIDs</title> <table id="GUID-FB96DF5A-16F9-535F-B754-52FCEE1337C5">
       
   486 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/>
       
   487 <thead>
       
   488 <row>
       
   489 <entry>UID</entry>
       
   490 <entry>Description</entry>
       
   491 <entry>Value</entry>
       
   492 </row>
       
   493 </thead>
       
   494 <tbody>
       
   495 <row>
       
   496 <entry><p>KRsaCipherUid </p> </entry>
       
   497 <entry><p>RSA Cipher algorithm UID </p> </entry>
       
   498 <entry><p>0x1028317e </p> </entry>
       
   499 </row>
       
   500 <row>
       
   501 <entry><p>KRsaSignerUid </p> </entry>
       
   502 <entry><p>RSA Signer algorithm UID </p> </entry>
       
   503 <entry><p>0x1028317f </p> </entry>
       
   504 </row>
       
   505 <row>
       
   506 <entry><p>KRsaVerifierUid </p> </entry>
       
   507 <entry><p>RSA Verifier algorithm UID </p> </entry>
       
   508 <entry><p>0x10283181 </p> </entry>
       
   509 </row>
       
   510 <row>
       
   511 <entry><p>KRSAKeyPairGeneratorUid </p> </entry>
       
   512 <entry><p>RSA Key Pair Generator algorithm UID </p> </entry>
       
   513 <entry><p>0x10283185 </p> </entry>
       
   514 </row>
       
   515 <row>
       
   516 <entry><p>KDsaSignerUid </p> </entry>
       
   517 <entry><p>DSA Signer algorithm UID </p> </entry>
       
   518 <entry><p>0x10283180 </p> </entry>
       
   519 </row>
       
   520 <row>
       
   521 <entry><p>KDsaVerifierUid </p> </entry>
       
   522 <entry><p>DSA Verifier algorithm UID </p> </entry>
       
   523 <entry><p>0x10283182 </p> </entry>
       
   524 </row>
       
   525 <row>
       
   526 <entry><p>KDSAKeyPairGeneratorUid </p> </entry>
       
   527 <entry><p>DSA Key Pair Generator algorithm UID </p> </entry>
       
   528 <entry><p>0x10283186 </p> </entry>
       
   529 </row>
       
   530 <row>
       
   531 <entry><p>KDHAgreementUid </p> </entry>
       
   532 <entry><p>DH Agreement algorithm UID </p> </entry>
       
   533 <entry><p>0x10283183 </p> </entry>
       
   534 </row>
       
   535 <row>
       
   536 <entry><p>KDHKeyPairGeneratorUid </p> </entry>
       
   537 <entry><p>DH Key Pair Generator algorithm UID </p> </entry>
       
   538 <entry><p>0x10283184 </p> </entry>
       
   539 </row>
       
   540 <row>
       
   541 <entry><p>KEccCipherUid </p> </entry>
       
   542 <entry><p>ECC Key Cipher algorithm UID </p> </entry>
       
   543 <entry><p>0x20024482 </p> </entry>
       
   544 </row>
       
   545 <row>
       
   546 <entry><p>KEccSignerUid </p> </entry>
       
   547 <entry><p>ECC Key Signer algorithm UID </p> </entry>
       
   548 <entry><p>0x20024483 </p> </entry>
       
   549 </row>
       
   550 <row>
       
   551 <entry><p>KEccVerifierUid </p> </entry>
       
   552 <entry><p>ECC Key Verifier algorithm UID </p> </entry>
       
   553 <entry><p>0x20024486 </p> </entry>
       
   554 </row>
       
   555 <row>
       
   556 <entry><p>KEccKeyPairGeneratorUid </p> </entry>
       
   557 <entry><p>ECC Key Pair Generator algorithm UID </p> </entry>
       
   558 <entry><p>0x20024487 </p> </entry>
       
   559 </row>
       
   560 </tbody>
       
   561 </tgroup>
       
   562 </table> <p> <b>Note:</b> The ECC key UIDs are enabled only if the macros <codeph>SYMBIAN_ENABLE_SDP_ECC</codeph> and <codeph>SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT</codeph> are enabled. </p> <p>The asymmetric key algorithm UIDs are used by the following
       
   563 API: </p> <ul>
       
   564 <li id="GUID-6121C646-5898-51C4-A51D-063A6841BDF7"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CAsymmetricCipher::CAsymmetricCipher()</apiname></xref> </p> </li>
       
   565 </ul> </section>
       
   566 <section id="GUID-CF0ECFB3-C28B-41D2-AE47-6C360F47DA17"><title>Other UIDs</title> <table id="GUID-58122807-15E8-5919-BE4B-6E52BB425319">
       
   567 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/>
       
   568 <thead>
       
   569 <row>
       
   570 <entry>UID</entry>
       
   571 <entry>Description</entry>
       
   572 <entry>Value</entry>
       
   573 </row>
       
   574 </thead>
       
   575 <tbody>
       
   576 <row>
       
   577 <entry><p>KPassedHandleToKeyUid </p> </entry>
       
   578 <entry><p>Use this UID as <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CKey</apiname></xref> key parameter,
       
   579 whenever the CryptoSPI user has just the handle and not the actual key. The
       
   580 CryptoSPI plug-in searches for this ID and invokes the appropriate APIs for
       
   581 providing access to the key. </p> <p> <b>Note:</b> This UID is enabled only
       
   582 if the <codeph>SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT</codeph> macro is enabled. </p> </entry>
       
   583 <entry><p>0x20025161 </p> </entry>
       
   584 </row>
       
   585 </tbody>
       
   586 </tgroup>
       
   587 </table> <p><b>Example usage of KPassedHandleToKeyUid</b> </p> <p>The following
       
   588 sequence of steps explains the use of <codeph>KPassedHandleToKeyUid</codeph> in
       
   589 the key parameter, which, along with the key property creates a <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CKey</apiname></xref> object.
       
   590 This <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CKey</apiname></xref> object is one of the parameters
       
   591 in the creation of a signer object, which can be used for performing signing
       
   592 operations. </p> <ol id="GUID-90F8CE15-EFDA-5330-A8A0-722EFC5714B0">
       
   593 <li id="GUID-809C4C15-873A-51CE-B1E8-CCFAAD66C8A7"><p>Define the key property. </p> <p>Create
       
   594 a <codeph>CCryptoParams</codeph> object for the key parameter. Add the key
       
   595 handle and <codeph>KPassedHandleToKeyUid</codeph> to the CCryptoParams object
       
   596 by using <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CCryptoParams::AddL()</apiname></xref>. </p> </li>
       
   597 <li id="GUID-D6732C41-74A4-59A3-A099-D7CA9AE2C634"><p>Create a <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CKey</apiname></xref> object
       
   598 by passing instance of the key property and the <codeph>CCryptoParams</codeph> object
       
   599 containing <codeph>KPassedHandleToKeyUid</codeph>. </p> </li>
       
   600 <li id="GUID-ADA7CF45-9A3B-5888-9BF7-11465E78A04B"><p>Create a signer object
       
   601 by using the <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CKey</apiname></xref> object as one of the
       
   602 parameters. This signer object can be used for performing signing operations. </p> </li>
       
   603 </ol> <p>The following code snippet demonstrates the use of <codeph>KPassedHandleToKeyUid</codeph>: </p> <codeblock id="GUID-2BDD4700-C5EA-56A9-ACE7-5CB703B43886" xml:space="preserve">
       
   604 .
       
   605 .
       
   606 .
       
   607 // Define the key property
       
   608 TKeyProperty keyProperty;
       
   609 keyProperty.iAlgorithmUid = KRsaSignerUid;
       
   610 
       
   611 // Create the key parameter object
       
   612 CCryptoParams* keyParameters = CCryptoParams::NewLC();
       
   613 
       
   614 // iHandle is of type TCTTokenObjectHandle. It contains handle to the key
       
   615 keyParameters-&gt;AddL(iHandle.iObjectId, KPassedHandleToKeyUid);
       
   616 
       
   617 // Create a CKey object
       
   618 CKey* newKey = CKey::NewL(keyProperty, *keyParameters);
       
   619 
       
   620 // Create a signer plug-in object
       
   621 CSigner * implsig = NULL;    
       
   622 
       
   623 // Create the signer object
       
   624 CSignatureFactory::CreateSignerL(implsig, KRsaSignerUid, *newKey, KPaddingModePkcs1_v1_5_SignatureUid, NULL);
       
   625 .
       
   626 .
       
   627 .
       
   628 </codeblock> </section>
       
   629 <section id="GUID-0086C0B8-AE57-4653-9F77-A8594441D7AE"><title>Operation modes</title> <table id="GUID-DE9AE866-8A93-5876-A083-30A054D35651">
       
   630 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/>
       
   631 <thead>
       
   632 <row>
       
   633 <entry>UID</entry>
       
   634 <entry>Description</entry>
       
   635 <entry>Value</entry>
       
   636 </row>
       
   637 </thead>
       
   638 <tbody>
       
   639 <row>
       
   640 <entry><p>KOperationModeNoneUid </p> </entry>
       
   641 <entry><p>None Mode UID </p> </entry>
       
   642 <entry><p>0x10283190 </p> </entry>
       
   643 </row>
       
   644 <row>
       
   645 <entry><p>KOperationModeECBUid </p> </entry>
       
   646 <entry><p>ECB Mode UID </p> </entry>
       
   647 <entry><p>0x10283191 </p> </entry>
       
   648 </row>
       
   649 <row>
       
   650 <entry><p>KOperationModeCBCUid </p> </entry>
       
   651 <entry><p>CBC Mode UID </p> </entry>
       
   652 <entry><p>0x10283192 </p> </entry>
       
   653 </row>
       
   654 <row>
       
   655 <entry><p>KOperationModeOFBUid </p> </entry>
       
   656 <entry><p>OFB Mode UID </p> </entry>
       
   657 <entry><p>0x10283193 </p> </entry>
       
   658 </row>
       
   659 <row>
       
   660 <entry><p>KOperationModeCFBUid </p> </entry>
       
   661 <entry><p>CFB Mode UID </p> </entry>
       
   662 <entry><p>0x10283194 </p> </entry>
       
   663 </row>
       
   664 <row>
       
   665 <entry><p>KOperationModeCTRUid </p> </entry>
       
   666 <entry><p>CTR Mode UID </p> </entry>
       
   667 <entry><p>0x10283195 </p> </entry>
       
   668 </row>
       
   669 </tbody>
       
   670 </tgroup>
       
   671 </table> <p>The operation modes are used by the following APIs: </p> <ul>
       
   672 <li id="GUID-3A02B850-7569-58CD-9D70-0A978DDA2963"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname>CryptoSpi::CHashFactory::CreateHashL()</apiname></xref>  </p> </li>
       
   673 <li id="GUID-81EA0218-CCFE-563D-9709-3DBA86260262"><p> <xref href="GUID-48BB2346-6840-3A26-B43C-4DF70A322B17.dita"><apiname> CryptoSpi::CHashFactory::CreateAsyncHashL()</apiname></xref>  </p> </li>
       
   674 </ul> </section>
       
   675 </conbody></concept>