2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
21 inline TKeyIdentifier CKeyInfoBase::ID() const
26 inline TKeyUsagePKCS15 CKeyInfoBase::Usage() const
31 inline TUint CKeyInfoBase::Size() const
36 inline const TDesC& CKeyInfoBase::Label() const
44 inline const TSecurityPolicy& CKeyInfoBase::UsePolicy() const
49 inline const TSecurityPolicy& CKeyInfoBase::ManagementPolicy() const
51 return iManagementPolicy;
54 inline CKeyInfoBase::EKeyAlgorithm CKeyInfoBase::Algorithm() const
59 inline TInt CKeyInfoBase::AccessType() const
64 inline TBool CKeyInfoBase::Native() const
69 inline TTime CKeyInfoBase::StartDate() const
74 inline TTime CKeyInfoBase::EndDate() const
79 inline const TDesC8& CKeyInfoBase::PKCS8AttributeSet() const
81 if (iPKCS8AttributeSet)
82 return *iPKCS8AttributeSet;
87 inline TInt CKeyInfoBase::HandleID() const
92 inline void CKeyInfoBase::SetHandle(TInt aHandle)
97 inline void CKeyInfoBase::SetIdentifier(TKeyIdentifier aId)
102 inline void CKeyInfoBase::SetSize(TUint aSize)
107 inline void CKeyInfoBase::SetAlgorithm(EKeyAlgorithm aAlg)
114 inline CCTKeyInfo::operator TCTTokenObjectHandle() const
119 inline MCTAuthenticationObject* CCTKeyInfo::Protector() const
124 inline void CCTKeyInfo::SetProtector(MCTAuthenticationObject& aProtector)
126 iProtector = &aProtector;