| 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 | { |
no test coverage detected