| 385 | } |
| 386 | |
| 387 | CryptoKeyType IdentityEx::GetCryptoKeyType () const |
| 388 | { |
| 389 | if (m_StandardIdentity.certificate[0] == CERTIFICATE_TYPE_KEY && m_ExtendedLen >= 4) |
| 390 | return bufbe16toh (m_ExtendedLen <= MAX_EXTENDED_BUFFER_SIZE ? m_ExtendedBuffer + 2 : m_ExtendedBufferPtr + 2); // crypto key |
| 391 | return CRYPTO_KEY_TYPE_ELGAMAL; |
| 392 | } |
| 393 | |
| 394 | i2p::crypto::Verifier * IdentityEx::CreateVerifier (SigningKeyType keyType) |
| 395 | { |
no test coverage detected