equal
deleted
inserted
replaced
53 public: |
53 public: |
54 void SetAlgorithm (const TAlgorithm aAlgorithm); |
54 void SetAlgorithm (const TAlgorithm aAlgorithm); |
55 TAlgorithm Algorithm () const; |
55 TAlgorithm Algorithm () const; |
56 bool IsAlgorithmKnown () const; |
56 bool IsAlgorithmKnown () const; |
57 void Verify (const TUint32 aLanguages) const; |
57 void Verify (const TUint32 aLanguages) const; |
58 void AddPackageEntry(std::wostream& aStream, bool aVerbose) const; |
58 void AddPackageEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const; |
59 |
59 |
60 protected: |
60 protected: |
61 CSISString iAlgorithmIdentifier; |
61 CSISString iAlgorithmIdentifier; |
62 |
62 |
63 mutable TAlgorithm iAlgorithm; |
63 mutable TAlgorithm iAlgorithm; |
91 inline bool CSISSignatureAlgorithm::IsAlgorithmKnown () const |
91 inline bool CSISSignatureAlgorithm::IsAlgorithmKnown () const |
92 { |
92 { |
93 return (iAlgorithm > EAlgNone) && (iAlgorithm < EAlgIllegal); |
93 return (iAlgorithm > EAlgNone) && (iAlgorithm < EAlgIllegal); |
94 } |
94 } |
95 |
95 |
96 inline void CSISSignatureAlgorithm::AddPackageEntry(std::wostream& aStream, bool aVerbose) const |
96 inline void CSISSignatureAlgorithm::AddPackageEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const |
97 { |
97 { |
98 if (aVerbose) |
98 if (aVerbose) |
99 { |
99 { |
100 aStream << L"Algorithm: "; |
100 aStream << L"Algorithm: "; |
101 iAlgorithmIdentifier.AddPackageEntry(aStream, aVerbose); |
101 iAlgorithmIdentifier.AddPackageEntry(aStream, aVerbose, aCompatible); |
102 aStream << std::endl; |
102 aStream << std::endl; |
103 } |
103 } |
104 } |
104 } |
105 |
105 |
106 #endif // __SISSIGNATUREALGORITHM_H__ |
106 #endif // __SISSIGNATUREALGORITHM_H__ |