mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
[nstool] Fixed method name typo.
This commit is contained in:
parent
b2dd703ce1
commit
6f5c7fd353
2 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ void EsCertProcess::displayCert(const es::SignedData<es::CertificateBody>& cert)
|
|||
|
||||
std::cout << " Issuer: " << cert.getBody().getIssuer() << std::endl;
|
||||
std::cout << " Subject: " << cert.getBody().getSubject() << std::endl;
|
||||
std::cout << " PublicKeyType: " << getPublicKeyType(cert.getBody().getPublicKeyType());
|
||||
std::cout << " PublicKeyType: " << getPublicKeyTypeStr(cert.getBody().getPublicKeyType());
|
||||
if (_HAS_BIT(mCliOutputMode, OUTPUT_EXTENDED))
|
||||
std::cout << " (" << std::dec << cert.getBody().getPublicKeyType() << ")";
|
||||
std::cout << std::endl;
|
||||
|
@ -229,7 +229,7 @@ const char* EsCertProcess::getEndiannessStr(bool isLittleEndian) const
|
|||
return isLittleEndian ? "LittleEndian" : "BigEndian";
|
||||
}
|
||||
|
||||
const char* EsCertProcess::getPublicKeyType(es::cert::PublicKeyType type) const
|
||||
const char* EsCertProcess::getPublicKeyTypeStr(es::cert::PublicKeyType type) const
|
||||
{
|
||||
const char* str;
|
||||
switch (type)
|
||||
|
|
|
@ -42,5 +42,5 @@ private:
|
|||
|
||||
const char* getSignTypeStr(es::sign::SignType type) const;
|
||||
const char* getEndiannessStr(bool isLittleEndian) const;
|
||||
const char* getPublicKeyType(es::cert::PublicKeyType type) const;
|
||||
const char* getPublicKeyTypeStr(es::cert::PublicKeyType type) const;
|
||||
};
|
Loading…
Reference in a new issue