cryptoservices/filebasedcertificateandkeystores/Inc/fsdatatypes.inl
changeset 8 35751d3474b7
parent 0 2c201484c85f
child 53 030c4fbc13d7
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    22 	{
    22 	{
    23 	}
    23 	}
    24 
    24 
    25 inline CKeyInfo::~CKeyInfo()
    25 inline CKeyInfo::~CKeyInfo()
    26 	{
    26 	{
       
    27 #ifdef SYMBIAN_AUTH_SERVER
       
    28 	delete iAuthExpression;
       
    29 #endif // SYMBIAN_AUTH_SERVER
    27 	}
    30 	}
    28 
    31 
    29 inline void CKeyInfo::CleanupPushL()
    32 inline void CKeyInfo::CleanupPushL()
    30 	{
    33 	{
    31 	CleanupStack::PushL(this);
    34 	CleanupStack::PushL(this);
    38 
    41 
    39 inline void CKeyInfo::SetAccessType(TInt aAccessType)
    42 inline void CKeyInfo::SetAccessType(TInt aAccessType)
    40 	{
    43 	{
    41 	iAccessType = aAccessType;
    44 	iAccessType = aAccessType;
    42 	}
    45 	}
       
    46 
       
    47 #ifdef SYMBIAN_AUTH_SERVER
       
    48 inline AuthServer::TIdentityId CKeyInfo::Identity() const
       
    49 	{
       
    50 	return iIdentityId;
       
    51 	}
       
    52 
       
    53 inline const TDesC& CKeyInfo::AuthExpression() const
       
    54 	{
       
    55 	return *iAuthExpression;
       
    56 	}
       
    57 
       
    58 inline TInt CKeyInfo::Freshness() const
       
    59 	{
       
    60 	return iFreshness;
       
    61 	}
       
    62 
       
    63 inline void CKeyInfo::SetIdentity(AuthServer::TIdentityId aIdentityId)
       
    64 	{
       
    65 	iIdentityId = aIdentityId;
       
    66 	}
       
    67 
       
    68 inline void CKeyInfo::SetAuthExpressionL(const TDesC& aAuthExpression)
       
    69 	{
       
    70 	delete iAuthExpression;
       
    71 	iAuthExpression = NULL;
       
    72 	iAuthExpression = aAuthExpression.AllocL();
       
    73 	iAuthExpression->Des().Copy(aAuthExpression);
       
    74 	}
       
    75 
       
    76 inline void CKeyInfo::SetFreshness(TInt aFreshness)
       
    77 	{
       
    78 	iFreshness = aFreshness;
       
    79 	}
       
    80 
       
    81 inline void CKeyInfo::ResetAuthExpression()
       
    82 	{
       
    83 	delete iAuthExpression;
       
    84 	iAuthExpression = NULL;
       
    85 	}
       
    86 
       
    87 #endif // SYMBIAN_AUTH_SERVER
       
    88 
    43 
    89 
    44 inline const TInteger& CDHParams::N() const
    90 inline const TInteger& CDHParams::N() const
    45 	{
    91 	{
    46 	return iN;
    92 	return iN;
    47 	}
    93 	}