# Uses of Class
fr.gouv.vitam.security.internal.common.model.IdentityModel

Packages that use IdentityModel
Package
Description
fr.gouv.vitam.security.internal.client
fr.gouv.vitam.security.internal.rest.repository
Provides core classes of functional administration rules module
fr.gouv.vitam.security.internal.rest.resource
Provides core classes of functional administration rules module
fr.gouv.vitam.security.internal.rest.service
Provides core classes of functional administration rules module

- ## Uses of IdentityModel in fr.gouv.vitam.security.internal.client

  Methods in fr.gouv.vitam.security.internal.client that return types with arguments of type IdentityModel
  Modifier and Type
  Method
  Description
  `Optional<IdentityModel>`
  InternalSecurityClient.`findIdentity(byte[] certificate)`
  Find Identity
  `Optional<IdentityModel>`
  InternalSecurityClientRest.`findIdentity(byte[] certificate)`

- ## Uses of IdentityModel in fr.gouv.vitam.security.internal.rest.repository

  Methods in fr.gouv.vitam.security.internal.rest.repository that return types with arguments of type IdentityModel
  Modifier and Type
  Method
  Description
  `List<IdentityModel>`
  IdentityRepository.`findAll()`
  `Optional<IdentityModel>`
  IdentityRepository.`findIdentity(String subjectDN, String serialNumber)`
  return certificate according to subjectDN and serilanumber
  `Class<IdentityModel>`
  IdentityRepository.`getEntityModelType()`
  Methods in fr.gouv.vitam.security.internal.rest.repository with parameters of type IdentityModel
  Modifier and Type
  Method
  Description
  `void`
  IdentityRepository.`createIdentity(IdentityModel identityModel)`
  create a certificate with contextId and many information

- ## Uses of IdentityModel in fr.gouv.vitam.security.internal.rest.resource

  Methods in fr.gouv.vitam.security.internal.rest.resource that return IdentityModel
  Modifier and Type
  Method
  Description
  `IdentityModel`
  IdentityResource.`findIdentityByCertificate(byte[] certificate)`
  `IdentityModel`
  AdminIdentityResource.`linkContextToIdentity(IdentityInsertModel identityInsertModel, jakarta.ws.rs.core.UriInfo uri)`

- ## Uses of IdentityModel in fr.gouv.vitam.security.internal.rest.service

  Methods in fr.gouv.vitam.security.internal.rest.service that return types with arguments of type IdentityModel
  Modifier and Type
  Method
  Description
  `List<IdentityModel>`
  IdentityService.`findAllIdentities()`
  `Optional<IdentityModel>`
  IdentityService.`findIdentity(byte[] certificate)`
  `Optional<IdentityModel>`
  IdentityService.`linkContextToIdentity(IdentityInsertModel identityInsertModel)`