Project

General

Profile

Actions

Bug #3072

closed

In MemoryIdentityStorage.setDefaultKeyNameForIdentity, the identity name is not derived from the keyName

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
07/28/2015
Due date:
% Done:

0%

Estimated time:

Description

Currently MemoryIdentityStorage.setDefaultKeyNameForIdentity gets the identity name from the optional identityNameCheck:
https://github.com/named-data/jndn/blob/608b0116dd01298dac19874354175a6f6adb656e/src/net/named_data/jndn/security/identity/MemoryIdentityStorage.java#L321

But need to derive the identity name from the keyName, as is done in BasicIdentityStorage:
https://github.com/named-data/jndn/blob/fdc84f134849779bd0754994d9fbd1e5fbac198e/src/net/named_data/jndn/security/identity/BasicIdentityStorage.java#L621

This is done in parallel with issue #3068 to deprecate the identityNameCheck param which has been removed from ndn-cxx.


Related issues 1 (0 open1 closed)

Related to NDN-CCL - Task #3068: Update to ndn-cxx semantics for setDefaultIdentity, setDefaultKeyNameForIdentity and setDefaultCertificateNameForKeyAbandoned07/24/2015

Actions
Actions

Also available in: Atom PDF