code: @FFDCIgnore(Exception.class)
      @Override
      public IdentityToken encodeIdentityToken(Codec codec) {
          IdentityToken token = null;
          String distinguishedName = null;
  
          try {
              distinguishedName = getDistinguishedName();
              token = createIdentityToken(codec, distinguishedName);
          } catch (Exception e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "The client cannot create the ITTDistinguishedName identity assertion token for distinguished name " + distinguishedName
                               + ". The exception message is: " + e.getMessage());
              }
              String messageFromBundle = Tr.formatMessage(tc, "CSIv2_CLIENT_ASSERTION_CANNOT_ENCODE_DN", distinguishedName, e.getMessage());
              throw new org.omg.CORBA.NO_PERMISSION(messageFromBundle, SecurityMinorCodes.CREDENTIAL_NOT_AVAILABLE, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
          }
          return token;
      }
docs: {@inheritDoc}