ICardInitialization.GetDiversifiedAdminKey Method
Generates a new diversified administrative encryption key for a smart card.
Namespace: Microsoft.Clm
Assembly: Microsoft.Clm.Common (in Microsoft.Clm.Common.dll)
Usage
'Usage
Dim instance As ICardInitialization
Dim card As ICardContext
Dim returnValue As SymmetricKey
returnValue = instance.GetDiversifiedAdminKey(card)
Syntax
'Declaration
Function GetDiversifiedAdminKey ( _
card As ICardContext _
) As SymmetricKey
SymmetricKey GetDiversifiedAdminKey (
ICardContext card
)
SymmetricKey^ GetDiversifiedAdminKey (
ICardContext^ card
)
SymmetricKey GetDiversifiedAdminKey (
ICardContext card
)
function GetDiversifiedAdminKey (
card : ICardContext
) : SymmetricKey
Parameters
- card
An ICardContext object that describes the context for the smart card.
Return Value
A SymmetricKey object that describes the new diversified admin key for the smart card.
Remarks
You can encrypt items using SymmetricKey object returned by this method by calling its Encrypt method.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 2008 x64 Edition
Target Platforms
Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2
See Also
Reference
ICardInitialization Interface
ICardInitialization Members
Microsoft.Clm Namespace