security (internal): In MemoryIdentityStorage, need to import IdentityCertificate.