MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / GetSigningKeyType

Method GetSigningKeyType

libi2pd/Identity.cpp:374–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372 }
373
374 SigningKeyType IdentityEx::GetSigningKeyType () const
375 {
376 if (m_StandardIdentity.certificate[0] == CERTIFICATE_TYPE_KEY && m_ExtendedLen >= 2)
377 return bufbe16toh (m_ExtendedLen <= MAX_EXTENDED_BUFFER_SIZE ? m_ExtendedBuffer : m_ExtendedBufferPtr); // signing key
378 return SIGNING_KEY_TYPE_DSA_SHA1;
379 }
380
381 bool IdentityEx::IsRSA () const
382 {

Callers 10

ResumeMethod · 0.80
AddressBook.cppFile · 0.80
IsEligibleFloodfillMethod · 0.80
BlindedPublicKeyMethod · 0.80
FromBufferMethod · 0.80
CreateSignerMethod · 0.80
GetPaddingMethod · 0.80
LoadMethod · 0.80
SendDatagramMethod · 0.80
HandleDatagramMethod · 0.80

Calls 1

bufbe16tohFunction · 0.85

Tested by

no test coverage detected